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.

What is the difference between string and allias in terrain?

Postby 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?
Enderlook
 
Posts: 38
Joined: January 22nd, 2018, 12:23 am

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

Postby 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.
User avatar
Xara
 
Posts: 246
Joined: December 26th, 2014, 12:23 am
Location: Beijing


Return to WML Workshop

Who is online

Users browsing this forum: No registered users and 5 guests