blueprints ![code/game/objects/items/blueprints.dm 19](git.png)
Blueprints Used to see the wires of machines on the station, the roundstart layout of pipes/cables/tubes, as well as allowing you to rename existing areas and create new ones. Used by the station, cyborgs, and golems.
Vars | |
fluffnotice | A string of flavortext to be displayed at the top of the UI, related to the type of blueprints we are. |
---|---|
in_use | Boolean on whether the blueprints are currently being used, which prevents double-using them to rename/create areas. |
legend_viewing | The legend type the blueprints are currently looking at, which is either modularly set by wires datums, the main page, or an overview of them all. |
new_area_type | The type of area we'll create when we make a new area. This is a typepath. |
showing | List of images that we're showing to a client, used for showing blueprint data. |
viewing | The client that is being shown the list of 'showing' images of blueprint data. |
Procs | |
clear_viewer | Clears the client we're showig images to and deletes the images of blueprint data we made to show them. |
edit_area | edit_area Takes input from the player and renames the area the blueprints are currently in. |
get_area_type | Gets the area type the user is currently standing in. Returns: AREA_STATION, AREA_OUTDOORS, or AREA_SPECIAL Args: |
set_viewer | Sets the user's client as the person viewing blueprint data, and builds blueprint data around the user. Args: |
Var Details
fluffnotice ![code/game/objects/items/blueprints.dm 31](git.png)
A string of flavortext to be displayed at the top of the UI, related to the type of blueprints we are.
in_use ![code/game/objects/items/blueprints.dm 33](git.png)
Boolean on whether the blueprints are currently being used, which prevents double-using them to rename/create areas.
legend_viewing ![code/game/objects/items/blueprints.dm 38](git.png)
The legend type the blueprints are currently looking at, which is either modularly set by wires datums, the main page, or an overview of them all.
new_area_type ![code/game/objects/items/blueprints.dm 35](git.png)
The type of area we'll create when we make a new area. This is a typepath.
showing ![code/game/objects/items/blueprints.dm 41](git.png)
List of images that we're showing to a client, used for showing blueprint data.
viewing ![code/game/objects/items/blueprints.dm 45](git.png)
The client that is being shown the list of 'showing' images of blueprint data.
Proc Details
clear_viewer
Clears the client we're showig images to and deletes the images of blueprint data we made to show them.
edit_area
edit_area Takes input from the player and renames the area the blueprints are currently in.
get_area_type
Gets the area type the user is currently standing in. Returns: AREA_STATION, AREA_OUTDOORS, or AREA_SPECIAL Args:
- user: The person we're getting the area of to check if it's a special area.
set_viewer
Sets the user's client as the person viewing blueprint data, and builds blueprint data around the user. Args:
- user: The person who's client we're giving images to.