Difference between revisions of "Template:Data description"

From Wildermyth Wiki
(Created page with "<includeonly>{{#switch:{{{1}}} | Avenger (theme piece) = All the energy of a mystical sword in one cute, fuzzy little package.<!-- assets/text/aspects/aspects.properties --> |...")
 
(Don't categorize Poisoned blurb on Poisoned. Fix Thunder Stomp blurb.)
Line 60: Line 60:
| Crystalline (theme) = Shine on, you crazy diamond.<!-- assets/text/aspects/aspects.properties -->
| Crystalline (theme) = Shine on, you crazy diamond.<!-- assets/text/aspects/aspects.properties -->
| Dazed = Starts the turn with fewer time units. Daze is reduced each turn until it is gone.<!-- assets/text/aspects/aspects.properties -->
| Dazed = Starts the turn with fewer time units. Daze is reduced each turn until it is gone.<!-- assets/text/aspects/aspects.properties -->
| Dazzled = <name> is momentarily {{Status effect|word=dazzled|pagename=Dazzled}}, and can't see clearly!<!-- assets/text/aspects/aspects.properties -->
| Dazzled = <name> is momentarily {{Status effect|word=dazzled}}, and can't see clearly!<!-- assets/text/aspects/aspects.properties -->
| Deafened = -2 Bonus Damage and Potency<!-- assets/text/aspects/aspects.properties -->
| Deafened = -2 Bonus Damage and Potency<!-- assets/text/aspects/aspects.properties -->
| Deepist Spy (theme) = <self> spent time blending in among the Deepists.<!-- assets/text/aspects/aspects.properties -->
| Deepist Spy (theme) = <self> spent time blending in among the Deepists.<!-- assets/text/aspects/aspects.properties -->
Line 74: Line 74:
| Elmsoul (theme) = There's an ancient, Elmish soul inside <self>'s heart.<!-- assets/text/aspects/aspects.properties -->
| Elmsoul (theme) = There's an ancient, Elmish soul inside <self>'s heart.<!-- assets/text/aspects/aspects.properties -->
| Elmsoul Bash+ (theme upgrade) = +1 base damage, scales twice as much with Bonus Damage and Potency. (Current damage increased by '''''x''''')<!-- assets/text/aspects/aspects.properties -->
| Elmsoul Bash+ (theme upgrade) = +1 base damage, scales twice as much with Bonus Damage and Potency. (Current damage increased by '''''x''''')<!-- assets/text/aspects/aspects.properties -->
| Engaged = <shortName> is {{Status effect|word=engaged|pagename=Engaged}}, and must attack {0}.<!-- assets/text/aspects/aspects.properties -->
| Engaged = <shortName> is {{Status effect|word=engaged}}, and must attack {0}.<!-- assets/text/aspects/aspects.properties -->
| Entangle = Once per turn, <name> sends vines out to grab a foe or ally and move them to a specified tile.<!-- assets/text/effects/vine/vineArmEntangle.properties -->
| Entangle = Once per turn, <name> sends vines out to grab a foe or ally and move them to a specified tile.<!-- assets/text/effects/vine/vineArmEntangle.properties -->
| Entangle+ = Once per turn, <name> sends vines out to grab a foe or ally and move them to a specified tile.<!-- assets/text/effects/vine/vineArmEntangle.properties -->
| Entangle+ = Once per turn, <name> sends vines out to grab a foe or ally and move them to a specified tile.<!-- assets/text/effects/vine/vineArmEntangle.properties -->
Line 175: Line 175:
| Photosynthesis (theme piece) = <self> soaks in the light through their skin.<!-- assets/text/aspects/aspects.properties -->
| Photosynthesis (theme piece) = <self> soaks in the light through their skin.<!-- assets/text/aspects/aspects.properties -->
| Pinned = <name> cannot move, and defenses are lowered.<!-- assets/text/aspects/aspects.properties -->
| Pinned = <name> cannot move, and defenses are lowered.<!-- assets/text/aspects/aspects.properties -->
| Poisoned = <name> is {{Status effect|word=poisoned|pagename=Poisoned}} and takes damage every turn.<!-- assets/text/aspects/aspects.properties -->
| Poisoned = <name> is {{Status effect|word=poisoned}} and takes damage every turn.<!-- assets/text/aspects/aspects.properties -->
| Rat (theme piece) = <self> takes care of the little guy.<!-- assets/text/aspects/aspects.properties -->
| Rat (theme piece) = <self> takes care of the little guy.<!-- assets/text/aspects/aspects.properties -->
| Rat Tail (theme piece) = <self> has a rat tail.<!-- assets/text/aspects/aspects.properties -->
| Rat Tail (theme piece) = <self> has a rat tail.<!-- assets/text/aspects/aspects.properties -->
Line 244: Line 244:
| Thorn Lash = <name> lashes out with their left arm,  dealing damage and applying {{Status effect|word=poison|pagename=Thorn Lash}} in a line.<!-- assets/text/effects/vine/vineArmThornLash.properties -->
| Thorn Lash = <name> lashes out with their left arm,  dealing damage and applying {{Status effect|word=poison|pagename=Thorn Lash}} in a line.<!-- assets/text/effects/vine/vineArmThornLash.properties -->
| Thorn Lash+ = <name> lashes out with their left arm,  dealing damage and applying {{Status effect|word=poison|pagename=Thorn Lash}} in a line.<!-- assets/text/effects/vine/vineArmThornLash.properties -->
| Thorn Lash+ = <name> lashes out with their left arm,  dealing damage and applying {{Status effect|word=poison|pagename=Thorn Lash}} in a line.<!-- assets/text/effects/vine/vineArmThornLash.properties -->
| Thunder Stomp = Once per turn as a swift action, stomps the ground with a small chance to {{Status effect|word=stunt chance|pagename=Thunder Stomp}}.<!-- assets/text/effects/storm/thunderStompAttack.properties -->
| Thunder Stomp = Once per turn as a swift action, stomps the ground with a small chance to {{Status effect|word=stun|pagename=Thunder Stomp}} enemies within range. Chance increases with '''stunt chance'''.<!-- assets/text/effects/storm/thunderStompAttack.properties -->
| Thunder Stomp+ = Once per turn as a swift action, stomps the ground with a small chance to {{Status effect|word=stunt chance|pagename=Thunder Stomp}}.<!-- assets/text/effects/storm/thunderStompAttack.properties -->
| Thunder Stomp+ = Once per turn as a swift action, stomps the ground with a small chance to {{Status effect|word=stun|pagename=Thunder Stomp}} enemies within range. Chance increases with '''stunt chance'''.<!-- assets/text/effects/storm/thunderStompAttack.properties -->
| Tongue Whip = Every other turn, <name> pulls the target to themself with their tongue.<!-- assets/text/effects/attack/frogHeadTongue.properties -->
| Tongue Whip = Every other turn, <name> pulls the target to themself with their tongue.<!-- assets/text/effects/attack/frogHeadTongue.properties -->
| Tongue Whip+ = Every other turn, <name> pulls the target to themself with their tongue.<!-- assets/text/effects/attack/frogHeadTongue.properties -->
| Tongue Whip+ = Every other turn, <name> pulls the target to themself with their tongue.<!-- assets/text/effects/attack/frogHeadTongue.properties -->

Revision as of 07:32, 26 January 2022

This documentation is transcluded from Template:Data description/doc

This template is used by the game data process to help automatically keep pages up-to-date.

Warning: Manually editing this template data may cause your changes to be overwritten or lost if the template is automatically updated. If specific game data is missing from this template, please ask about it on the Discord #wiki channel (to arrange for its data to automatically be added to these templates).

Usage

This template returns a description for a specific status effect, theme, theme piece, theme upgrade, or theme ability. A future update will add hero abilities.

The template uses the following parameter:

1
The name associated with the specific description.

Examples

Theme descriptions

{{Quote|{{Data description|Drauven Wings (theme)}}}}
Looted off a dead Drauven and repurposed.

Theme names are followed by (theme), to unambiguously distinguish them from any identically named theme pieces. E.g., in the game, "Drauven Wings" is both a theme, and a theme piece.

Theme piece descriptions

{{Quote|{{Data description|Fire Chicken (theme piece)}}}}
Useful for starting fires?

Theme piece names are followed by (theme piece), to unambiguously distinguish them from any identically named theme abilities. E.g., in the game, "Fire Chicken" is both a theme piece, and a theme ability.

Theme upgrade descriptions

{{Quote|{{Data description|Crow Scratch+ (theme upgrade)}}}}
+1 base damage, scales twice as much with Bonus Damage and Potency. (Current damage increased by x)

Theme upgrade names are followed by (theme upgrade), to unambiguously distinguish them from any identically named theme abilities. E.g., in the game, "Crow Scratch+" is both a theme upgrade, and a theme ability.

Theme ability descriptions

{{Quote|{{Data description|Bear Hug}}}}
<self> grabs an enemy, dealing damage and stunning them.

Theme ability names are not followed by any disambiguation.

Hero ability descriptions (to be added)

{{Quote|{{Data description|Flashcone}}}}
 (No description is returned, as this hero ability data has not been added yet to the template.)

Hero ability names are (also) not followed by any disambiguation.

Technical details

Description (.blurb) data comes from Wildermyth's.properties files. For example, assets/text/effects/bear/bearHug.properties includes the following lines:

.blurb=<self> grabs an enemy, dealing damage and [:statusEffect.senseless]stunning[] them.
.name=Bear Hug

Name conflicts

Internally, the game uses aspects (e.g., theme_drauvenWings, themePiece_petFireChicken_fireChicken, theme_crow_upgrade) to uniquely distinguish between identically named descriptions.

To avoid how tedious it would be to lookup these aspects to retrieve a particular description, the more familiar name is used.

Name Description
{{Data description|Drauven Wings (theme)}} Looted off a dead Drauven and repurposed.
{{Data description|Drauven Wings (theme piece)}} Fashioned from hide and light wood, with a healthy infusion of magic.
{{Data description|Fire Chicken (theme piece)}} Useful for starting fires?
{{Data description|Fire Chicken}} <name>'s Pet can light a fire on an adjacent tile, once every three turns.
{{Data description|Crow Scratch+ (theme upgrade)}} +1 base damage, scales twice as much with Bonus Damage and Potency. (Current damage increased by x)
{{Data description|Crow Scratch+}} <self> scratches a nearby foe with their monstrous talons, blinding it on stunt.

Theme-related descriptions were the only present name conflict.

If monster abilities are added to the game data templates, a (monster ability) suffix would be needed to avoid some monster ability conflicts (e.g., Guardian) with the identically named hero ability.