What is the difference between string and allias in terrain?

The place to post your WML questions and answers.

Moderators: Forum Moderators, Developers

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
Enderlook
Posts: 38
Joined: January 22nd, 2018, 12:23 am

What is the difference between string and allias in terrain?

Post by Enderlook » January 24th, 2018, 3:11 am

Look at the wiki: https://wiki.wesnoth.org/TerrainCodeTableWML. In the table there is a row for string and another one for allias. I know (think) string is used in [filter_location], but what is the usage of allias?

User avatar
Xara
Posts: 248
Joined: December 26th, 2014, 12:23 am
Location: Beijing

Re: What is the difference between string and allias in terr

Post by Xara » January 24th, 2018, 3:51 am

Alias tells you what the game think this terrain is when deciding things like unit movement costs, defense, and being village.
It pronounces Sha'ha, not Zara.

Post Reply