decal ![code/game/objects/items/airlock_painter.dm 157](git.png)
Vars | |
color_list | List of color options as list(user-friendly label, color value to return) |
---|---|
decal_list | List of decal options as list(user-friendly label, icon state base value to return) |
dir_list | List of direction options as list(user-friendly label, dir value to return) |
spritesheet_type | The type path of the spritesheet being used for the frontend. |
stored_color | The current color of the decal being printed. |
stored_custom_color | Current custom color |
stored_decal | The current base icon state of the decal being printed. |
stored_decal_total | The full icon state of the decal being printed. |
stored_dir | The current direction of the decal being printed |
supports_custom_color | Does this printer implementation support custom colors? |
Procs | |
get_decal_path | Return the final icon_state for the given decal options |
paint_floor | Actually add current decal to the floor. |
Var Details
color_list ![code/game/objects/items/airlock_painter.dm 181](git.png)
List of color options as list(user-friendly label, color value to return)
decal_list ![code/game/objects/items/airlock_painter.dm 194](git.png)
List of decal options as list(user-friendly label, icon state base value to return)
dir_list ![code/game/objects/items/airlock_painter.dm 187](git.png)
List of direction options as list(user-friendly label, dir value to return)
spritesheet_type ![code/game/objects/items/airlock_painter.dm 175](git.png)
The type path of the spritesheet being used for the frontend.
stored_color ![code/game/objects/items/airlock_painter.dm 169](git.png)
The current color of the decal being printed.
stored_custom_color ![code/game/objects/items/airlock_painter.dm 179](git.png)
Current custom color
stored_decal ![code/game/objects/items/airlock_painter.dm 171](git.png)
The current base icon state of the decal being printed.
stored_decal_total ![code/game/objects/items/airlock_painter.dm 173](git.png)
The full icon state of the decal being printed.
stored_dir ![code/game/objects/items/airlock_painter.dm 167](git.png)
The current direction of the decal being printed
supports_custom_color ![code/game/objects/items/airlock_painter.dm 177](git.png)
Does this printer implementation support custom colors?
Proc Details
get_decal_path
Return the final icon_state for the given decal options
Arguments:
- decal - the selected decal base icon state
- color - the selected color
- dir - the selected dir
paint_floor
Actually add current decal to the floor.
Responsible for actually adding the element to the turf for maximum flexibility.area Can be overriden for different decal behaviors. Arguments:
- target - The turf being painted to