armour_dimensional_theme
Datum describing a 'theme' which transforms a 3x3 area's turfs when applied. It also creates a number of themed barriers in that area.
Procs | |
apply | Transforms turfs around a source point into a new themed material. Also place some barriers in unoccupied areas. |
---|---|
apply_random | Applies a random dimensional theme effect centered around a provided point. This will transform floors and walls, as well as creating some themed barriers in that area. |
convert_turf | Changes a turf into a different turf |
get_target_area | Returns a list of turfs which it is valid to apply changes to. |
place_barrier | Places a barrier at a specified turf. |
place_barriers | Places a random amount of themed barriers in unoccupied spaces adjacent to a source tile. |
Proc Details
apply
Transforms turfs around a source point into a new themed material. Also place some barriers in unoccupied areas.
Arguments
- source - The central turf to apply outwards from.
apply_random
Applies a random dimensional theme effect centered around a provided point. This will transform floors and walls, as well as creating some themed barriers in that area.
Arguments
- source - The central turf to apply outwards from.
- dangerous - If true this will pick a 'dangerous' theme.
convert_turf
Changes a turf into a different turf
Arguments
- to_convert - Turf to convert.
get_target_area
Returns a list of turfs which it is valid to apply changes to.
Arguments
- source - The central turf to check outwards from.
place_barrier
Places a barrier at a specified turf.
Arguments
- source - Tile to place barrier upon.
- materials - Custom material data to apply to the barrier.
place_barriers
Places a random amount of themed barriers in unoccupied spaces adjacent to a source tile.
Arguments
- source - Central tile to place barriers around.
- target_area - Tiles which have had their materials converted, needs further culling to remove dense tiles.