Logic-related color functions
This commit is contained in:
@@ -1704,6 +1704,11 @@ lst.unitbind = Bind to the next unit of a type, and store it in [accent]@unit[].
|
||||
lst.unitcontrol = Control the currently bound unit.
|
||||
lst.unitradar = Locate units around the currently bound unit.
|
||||
lst.unitlocate = Locate a specific type of position/building anywhere on the map.\nRequires a bound unit.
|
||||
lst.getblock = Get tile data at any location.
|
||||
lst.setblock = Set tile data at any location.
|
||||
lst.spawnunit = Spawn unit at a location.
|
||||
lst.packcolor = Pack [0, 1] RGBA components into a single number for drawing or rule-setting.
|
||||
lst.setrule = Set a game rule.
|
||||
|
||||
logic.nounitbuild = [red]Unit building logic is not allowed here.
|
||||
|
||||
@@ -1723,6 +1728,7 @@ lacess.speed = Top speed of a unit, in tiles/sec.
|
||||
|
||||
graphicstype.clear = Fill the display with a color.
|
||||
graphicstype.color = Set color for next drawing operations.
|
||||
graphicstype.col = Equivalent to color, but packed.\nPacked colors are written as hex codes with a [accent]%[] prefix.\nExample: [accent]%ff0000[] would be red.
|
||||
graphicstype.stroke = Set line width.
|
||||
graphicstype.line = Draw line segment.
|
||||
graphicstype.rect = Fill a rectangle.
|
||||
|
||||
Reference in New Issue
Block a user