Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/matfab_recipe

///////////////////////////////////////////BASE CLASS BELOW Base material fabricator recipie

Vars

categoryWhich group this recipe belongs to.
descShort description of the item.
nameName of the recipe.
required_partsList of /datum/matfab_part that are required for this.

Procs

buildActually create and place the object.
canBuildCan we currently build this?
clearClear everything. used to reset the recipe
getMaxAmountGets the maximum amount of this recipe we can make with the currently assigned objects.
getObjectByPartNameGets the assigned object that matches the given part name i.e. "Lens" or such. Whatever you named it in the recipe New.
getOutputLocationFigures 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.