Texture marker implementation

This commit is contained in:
ApsZoldat
2023-11-07 22:42:42 +03:00
parent cdb6e3f85b
commit 6dff68e7d9
5 changed files with 89 additions and 5 deletions

View File

@@ -2458,3 +2458,7 @@ lenum.build = Build a structure.
lenum.getblock = Fetch a building, floor and type at coordinates.\nUnit must be in range of position.\nSolid non-buildings will have the type [accent]@solid[].
lenum.within = Check if unit is near a position.
lenum.boost = Start/stop boosting.
lenum.texture = Texture name straight from game's texture atlas (using kebab-case naming style).\nSecond and third arguments are additional suffixes added using "-" separator.\nIf additional arguments are not strings, nothing is added to first string.
lenum.textureWidth = Width of texture in tiles. Zero value scales marker width to original texture's size.
lenum.textureHeight = Height of texture in tiles. Zero value scales marker height to original texture's size.