/datum/manufacture ![code/datums/manufacturing.dm 1](git.png)
Vars | |
apply_material | Whether or not to apply a material onto the object upon completion. By default, this is the material used For the first material requirement specified. |
---|---|
category | Named category which the blueprint will reside in for manufacturers. See manufacturer.dm for list. If a blueprint has an invalid category, it will be assigned "Miscellaneous". |
create | How many times it'll make each thing in the list - or not, depending on randomize_output |
item_outputs | List of object types which the blueprint outputs upon satisfaction of requirements |
item_requirements | An associated list of requirement datum to amount of requirement to use. See manufacturing_requirements.dm for more on those. This list is overriden on children, and on New() the requirement ID strings are resolved to their datum instances in the cache |
name | Player-read name of the blueprint |
randomise_output | 0 - will create each item in the list once per loop (see manufacturer.dm Line 755) 1 - will pick() a random item in the list once per loop 2 - will pick() a random item before the loop begins then output one of the selected item each loop |
time | How many seconds it takes to complete the blueprint |
Procs | |
setup_manufacturing_requirements | Setup the manufacturing requirements for this datum, using the cache instead of init() on each |
Var Details
apply_material ![code/datums/manufacturing.dm 24](git.png)
Whether or not to apply a material onto the object upon completion. By default, this is the material used For the first material requirement specified.
category ![code/datums/manufacturing.dm 21](git.png)
Named category which the blueprint will reside in for manufacturers. See manufacturer.dm for list. If a blueprint has an invalid category, it will be assigned "Miscellaneous".
create ![code/datums/manufacturing.dm 16](git.png)
How many times it'll make each thing in the list - or not, depending on randomize_output
item_outputs ![code/datums/manufacturing.dm 10](git.png)
List of object types which the blueprint outputs upon satisfaction of requirements
item_requirements ![code/datums/manufacturing.dm 8](git.png)
An associated list of requirement datum to amount of requirement to use. See manufacturing_requirements.dm for more on those. This list is overriden on children, and on New() the requirement ID strings are resolved to their datum instances in the cache
name ![code/datums/manufacturing.dm 3](git.png)
Player-read name of the blueprint
randomise_output ![code/datums/manufacturing.dm 14](git.png)
0 - will create each item in the list once per loop (see manufacturer.dm Line 755) 1 - will pick() a random item in the list once per loop 2 - will pick() a random item before the loop begins then output one of the selected item each loop
time ![code/datums/manufacturing.dm 18](git.png)
How many seconds it takes to complete the blueprint
Proc Details
setup_manufacturing_requirements
Setup the manufacturing requirements for this datum, using the cache instead of init() on each