Scheduled system upgrade on Sunday 21 April 2024 15:00-16:00 UTC - On that day, the wiki and other services might go down for 5-15 minutes.

Template:ReslocAoc and AIDef:Query/HasPorchItemByCategory: Difference between pages

From ZeldaMods (Breath of the Wild)
(Difference between pages)
Jump to navigation Jump to search
imported>Leoetlino
mNo edit summary
 
imported>Leoetlino
(import AI definitions from 1.5.0)
 
Line 1: Line 1:
<div class="resloc-box resloc-box-aoc">
{{AIDef
If the [[DLC]] is installed, this {{{type|resource}}} can be found in {{{locations|the add-on content files}}}. {{#if:{{{path|}}}|Its [[canonical resource path|canonical path]] is "'''{{#invoke:AocUtils|get_aoc_canonical_path|path={{{path}}}|aoc_only=true}}'''".}}
|name=HasPorchItemByCategory
</div>
|type=Query
<noinclude>
}}
<templatedata>
 
{
== DynamicInstParams ==
"params": {
{|class="wikitable"
"type": {
! Name !! Type !! Default value !! Description
"type": "string",
|-
"default": "resource",
| Category || Int ||  ||
"label": "Item type",
|-
"example": "file"
| Count || Int ||  ||
},
|-
"path": {
|}
"type": "string",
 
"label": "Canonical path (with no prefix)",
 
"example": "Actor/Pack/Armor_001_Upper.bactorpack",
== Derived definitions ==
"description": "The canonical path of the resource but WITHOUT any path prefixes (e.g. Aoc/0010/)",
=== HasPorchItemByCategory (EventSystemActor) ===
"suggested": true
{{AIDefDerived
},
|name=HasPorchItemByCategory
"locations": {
|group_name=
"label": "Locations",
|derived_from=HasPorchItemByCategory
"description": "Where the resource can be found in add-on content",
|aiprog=EventSystemActor
"type": "string",
}}
"default": "the add-on content files",
No overridden parameters.
"required": true,
"suggested": true
}
},
"description": "Template that shows the location of an AoC-only resource",
"format": "inline",
"paramOrder": [
"type",
"path",
"locations"
]
}
</templatedata>
[[Category:ZeldaMods templates]]
</noinclude>

Latest revision as of 18:13, 14 October 2018

HasPorchItemByCategory
AI definition
Type Query

DynamicInstParams

Name Type Default value Description
Category Int
Count Int


Derived definitions

HasPorchItemByCategory (EventSystemActor)

No overridden parameters.