decal
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
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?
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 overridden for different decal behaviors. Arguments:
- target - The turf being painted to