tile_info
stores the name, type, icon & cost for each tile type
Vars | |
cost | rcd units to consume for this tile creation |
---|---|
icon_state | icon for this tile to display for ui |
name | name of this tile design for ui |
selected_direction | current direction this tile should be rotated in before being placed on the plating |
tile_directions | directions this tile can be placed on the turf |
tile_type | path to create this tile type |
ui_directional_data | user friendly names of the tile_directions to be sent to ui |
Procs | |
fill_ui_data | fill all information to be sent to the UI |
get_icon_state | retrieve the icon for this tile design based on its direction for complex directions like NORTHSOUTH etc we create an seperated blended icon in the asset file for example floor-northsouth so we check which icons we want to retrieve based on its direction for basic directions its rotated with CSS so there is no need for icon |
new_tile | convinience proc to quickly convert the tile design into an physical tile to lay on the plating |
set_direction | change the direction the tile is laid on the turf |
set_info | decompress a single tile design list element from GLOB.floor_designs into its individual variables |
Var Details
cost
rcd units to consume for this tile creation
icon_state
icon for this tile to display for ui
name
name of this tile design for ui
selected_direction
current direction this tile should be rotated in before being placed on the plating
tile_directions
directions this tile can be placed on the turf
tile_type
path to create this tile type
ui_directional_data
user friendly names of the tile_directions to be sent to ui
Proc Details
fill_ui_data
fill all information to be sent to the UI
get_icon_state
retrieve the icon for this tile design based on its direction for complex directions like NORTHSOUTH etc we create an seperated blended icon in the asset file for example floor-northsouth so we check which icons we want to retrieve based on its direction for basic directions its rotated with CSS so there is no need for icon
new_tile
convinience proc to quickly convert the tile design into an physical tile to lay on the plating
set_direction
change the direction the tile is laid on the turf
set_info
decompress a single tile design list element from GLOB.floor_designs into its individual variables