Template:SpawningItemDescription: Difference between revisions

no edit summary
(Add conditional for one spawning language (Daily Moonstone Chest). Language might need to be tweaked to be "somewhere outdoors" instead of "anywhere outdoors" - deal with that later, don't think it's a big deal atm.)
No edit summary
Line 1: Line 1:
<includeonly>{{#arraydefine:originalLocationsArray|{{{originalLocations|}}}}}{{#arraydefine:respawnLocationsArray|{{{respawnLocations|}}}}}'''{{PAGENAME}}''' is a spawning item that can be cleared to collect materials. {{#if:{{{originalLocations|}}}|Some appear by default at the beginning of the game in the {{#arrayprint: originalLocationsArray || arrayItem |[[arrayItem]]|print=pretty}}.|}} {{#switch:{{{dailyRespawnLimit|}}}
<includeonly>{{#arraydefine:originalLocationsArray|{{{originalLocations|}}}}}{{#arraydefine:respawnLocationsArray|{{{respawnLocations|}}}}}'''{{PAGENAME}}''' is a spawning item that can be cleared to collect materials. {{#if:{{{originalLocations|}}}|Some appear by default at the beginning of the game in the {{#arrayprint: originalLocationsArray || arrayItem |[[arrayItem]]|print=pretty}}.|}} {{#switch:{{{dailyRespawnLimit|}}}
|1=One will
|1=One will
|default=A few may}} respawn daily {{#switch:{{{respawnLocations|}}}
|default=A few may}} respawn daily {{#if:{{{respawnLocations|}}}|{{#switch:{{{respawnLocations|}}}
|anywhere outdoors=anywhere outdoors in the Valley.
|anywhere outdoors=anywhere outdoors in the Valley.
|Dazzle Beach=on [[Dazzle Beach]].
|Dazzle Beach=on [[Dazzle Beach]].
|default=in the {{#arrayprint: respawnLocationsArray || arrayItem |[[arrayItem]]|print=pretty}}.}}
|default=in the {{#arrayprint: respawnLocationsArray || arrayItem |[[arrayItem]]|print=pretty}}.}}|}}


They can be cleared by using the {{{requiredTool|}}}. When cleared, they yield {{{yield|}}}.</includeonly><noinclude>
They can be cleared by using the {{{requiredTool|}}}. When cleared, they yield {{{yield|}}}.</includeonly><noinclude>
moderator
27,413

edits