/datum/matfab_recipe
///////////////////////////////////////////BASE CLASS BELOW Base material fabricator recipie
Vars | |
category | Which group this recipe belongs to. |
---|---|
desc | Short description of the item. |
name | Name of the recipe. |
required_parts | List of /datum/matfab_part that are required for this. |
Procs | |
build | Actually create and place the object. |
canBuild | Can we currently build this? |
clear | Clear everything. used to reset the recipe |
getMaxAmount | Gets the maximum amount of this recipe we can make with the currently assigned objects. |
getObjectByPartName | Gets the assigned object that matches the given part name i.e. "Lens" or such. Whatever you named it in the recipe New. |
getOutputLocation | Figures out if we should place the result on the ground or inside the fab. |
Var Details
category
Which group this recipe belongs to.
desc
Short description of the item.
name
Name of the recipe.
required_parts
List of /datum/matfab_part that are required for this.
Proc Details
build
Actually create and place the object.
canBuild
Can we currently build this?
clear
Clear everything. used to reset the recipe
getMaxAmount
Gets the maximum amount of this recipe we can make with the currently assigned objects.
getObjectByPartName
Gets the assigned object that matches the given part name i.e. "Lens" or such. Whatever you named it in the recipe New.
getOutputLocation
Figures out if we should place the result on the ground or inside the fab.