Grass - atom description

From Nebuchadnezzar Modding Wiki
Jump to navigation Jump to search

<- back to all classes

General description

Grass.png

  • Grass represent addition graphics which visualize irrigated tiles.
  • Similar to Surface graphics it may (must) represent trnsition between different degree of irrigation.

Properties description

Name Type Default value /
Obligatory
Description
masques vec_1D[masque, 15] obligatory Vector of masques for all 15 transtions.
transition vec_1D[int, 2] obligatory Transition type.

Properties in detail

masques

  • Masques vector must contains 15 masques for 15 types of transition in the same way how it's described in Surface atom.
  • First type is 1 (0001) and the last type is 15 (1111), which is strictly speaking not a transition.

transition

  • It's a vector of two numbers, which determines the degrees of irrigation between which this grass is used.