design
![code/modules/research/designs.dm 23](git.png)
Design Datums
All the data for building stuff.
Vars | |
build_path | The typepath of the object produced by this design |
---|---|
build_type | Bitflags indicating what machines this design is compatable with. ([IMPRINTER]|[AWAY_IMPRINTER]|[PROTOLATHE]|[AWAY_LATHE]|[AUTOLATHE]|[MECHFAB]|[BIOGENERATOR]|[LIMBGROWER]|[SMELTER]) |
category | What category this design falls under. Used for sorting in production machines, mostly the mechfab |
construction_time | The amount of time required to create one unit of the product |
dangerous_construction | Notify and log for admin investigations if this is printed |
departmental_flags | Bitflags for deplathes. |
desc | Description of the created object |
id | The ID of the design. Used for quick reference. Alphanumeric, lower-case, no symbols |
lathe_time_factor | How many times faster than normal is this to build on the protolathe |
make_reagents | List of reagents produced by this design. Currently only supported by the biogenerator |
materials | List of materials required to create one unit of the product. Format is (typepath or caregory) -> amount |
maxstack | The maximum number of units of whatever is produced by this can be produced in one go |
name | Name of the created object |
reagents_list | List of reagents required to create one unit of the product |
research_icon | Replaces the item icon in the research console |
Procs | |
get_description | Returns the description of the design |
Var Details
build_path
![code/modules/research/designs.dm 37](git.png)
The typepath of the object produced by this design
build_type
![code/modules/research/designs.dm 31](git.png)
Bitflags indicating what machines this design is compatable with. ([IMPRINTER]|[AWAY_IMPRINTER]|[PROTOLATHE]|[AWAY_LATHE]|[AUTOLATHE]|[MECHFAB]|[BIOGENERATOR]|[LIMBGROWER]|[SMELTER])
category
![code/modules/research/designs.dm 41](git.png)
What category this design falls under. Used for sorting in production machines, mostly the mechfab
construction_time
![code/modules/research/designs.dm 35](git.png)
The amount of time required to create one unit of the product
dangerous_construction
![code/modules/research/designs.dm 49](git.png)
Notify and log for admin investigations if this is printed
departmental_flags
![code/modules/research/designs.dm 51](git.png)
Bitflags for deplathes.
desc
![code/modules/research/designs.dm 27](git.png)
Description of the created object
id
![code/modules/research/designs.dm 29](git.png)
The ID of the design. Used for quick reference. Alphanumeric, lower-case, no symbols
lathe_time_factor
![code/modules/research/designs.dm 47](git.png)
How many times faster than normal is this to build on the protolathe
make_reagents
![code/modules/research/designs.dm 39](git.png)
List of reagents produced by this design. Currently only supported by the biogenerator
materials
![code/modules/research/designs.dm 33](git.png)
List of materials required to create one unit of the product. Format is (typepath or caregory) -> amount
maxstack
![code/modules/research/designs.dm 45](git.png)
The maximum number of units of whatever is produced by this can be produced in one go
name
![code/modules/research/designs.dm 25](git.png)
Name of the created object
reagents_list
![code/modules/research/designs.dm 43](git.png)
List of reagents required to create one unit of the product
research_icon
![code/modules/research/designs.dm 54](git.png)
Replaces the item icon in the research console
Proc Details
get_description
Returns the description of the design