User Tools

Site Tools


4rpl:commands:setdarkcell

Index

:!: Available in version 2.5 and later.

SetDarkCell

SetDarkCell(<-x, <-y, <-darkness)

Description

Sets the fog or darkness level of the cell at the specified coordinates (`x`, `y`) to the provided `darkness` value. Note that “darkness level” does not imply a shading, but a cumulative value - when greater than zero, the cell will be dark. The intent is that multiple Dark towers can each set the cell as “dark”, destruction or nullification of each Dark Tower will reduce the darkness value by one, until all towers are eliminated, the value will be zero and the cell will be illuminated.

Examples

# need worked example

Index

4rpl/commands/setdarkcell.txt · Last modified: 2024/05/24 10:43 by Up-Level