Skip to content

Commit

Permalink
Help for the ^Uf mushrooms terrains, including an editor-only hint
Browse files Browse the repository at this point in the history
As the terrain is hidden in help, these hints can only be seen by
using the "Terrain Description" command on a ^Uf or ^Ufi mushroom
hex, and then switching to the overlay's own page.

A hint for players about how these mushrooms behave, and an editor-only
hint about replacing the ^Uf mushroom terrains with ^Tf.
  • Loading branch information
stevecotton committed Oct 6, 2019
1 parent 5a1a866 commit b3ca78a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions data/core/terrain.cfg
Expand Up @@ -942,25 +942,39 @@ Most units receive 20 to 40% defense in sand."
symbol_image=forest/mushrooms-tile
id=fungus_grove_old
name= _ "Mushroom Grove"
editor_name= _ "Mushroom Grove"
editor_name= _ "Non-mixed Mushroom Grove"
string=^Uf
aliasof=Tt
default_base=Uu
editor_group=cave, forest
hidden=yes # deprecated, only kept around so old maps still work
#ifdef EDITOR
# po: this hint is only shown in the map editor, the ^Uf, ^Tf and Tb are all terrain codes and should be left as-is
help_topic_text= _ "editor^The overlays '^Uf' and '^Ufi' are deprecated because, although the graphics show an overlay with another terrain underneath, the movement and defense stats are purely fungus terrain, ignoring the underlying terrain. The recommended replacements are '^Tf' and '^Tfi' which look the same but have the stats implied by the graphics. For hexes where the stats of purely fungus are wanted, 'Tb' is a mushroom base terrain, which can be used with or without '^Tf' on top."
#else
# po: this is only shown when the player opens the help by asking for the terrain description of a old mushroom terrain (^Uf or ^Ufi)
help_topic_text= _ "Dwarven tales describe different types of mushrooms — with some types the difficulty of walking on the spongy floor has no relation to the ground underneath, even when the ground underneath is still visible. This terrain’s defense and movement costs are purely based on the unit’s stats for <italic>text='Fungus'</italic>."
#endif
[/terrain_type]

[terrain_type]
symbol_image=forest/mushrooms-beam-tile
id=fungus_beam_old
name= _ "Mushroom Grove"
editor_name= _ "Lit Mushroom Grove"
editor_name= _ "Lit Non-mixed Mushroom Grove"
string=^Ufi
default_base=Uu
aliasof=Tt
light=25
editor_group=cave
hidden=yes # deprecated, only kept around so old maps still work
#ifdef EDITOR
# po: this hint is only shown in the map editor, the ^Uf, ^Tf and Tb are all terrain codes and should be left as-is
help_topic_text= _ "editor^The overlays '^Uf' and '^Ufi' are deprecated because, although the graphics show an overlay with another terrain underneath, the movement and defense stats are purely fungus terrain, ignoring the underlying terrain. The recommended replacements are '^Tf' and '^Tfi' which look the same but have the stats implied by the graphics. For hexes where the stats of purely fungus are wanted, 'Tb' is a mushroom base terrain, which can be used with or without '^Tf' on top."
#else
# po: this is only shown when the player opens the help by asking for the terrain description of a old mushroom terrain (^Uf or ^Ufi)
help_topic_text= _ "Dwarven tales describe different types of mushrooms — with some types the difficulty of walking on the spongy floor has no relation to the ground underneath, even when the ground underneath is still visible. This terrain’s defense and movement costs are purely based on the unit’s stats for <italic>text='Fungus'</italic>."
#endif
[/terrain_type]

[terrain_type]
Expand Down

0 comments on commit b3ca78a

Please sign in to comment.