Personal Crafting - Initial Commit

This commit is contained in:
SamCroswell
2016-07-15 16:25:37 -04:00
parent 324e4b92a9
commit 0466499f86
33 changed files with 507 additions and 302 deletions
+4 -1
View File
@@ -520,6 +520,9 @@ var/const/INGEST = 2
return res
/datum/reagents/proc/get_reagent(type)
. = locate(type) in reagent_list
/datum/reagents/proc/remove_all_type(var/reagent_type, var/amount, var/strict = 0, var/safety = 1) // Removes all reagent of X type. @strict set to 1 determines whether the childs of the type are included.
if(!isnum(amount)) return 1
@@ -608,4 +611,4 @@ atom/proc/create_reagents(var/max_vol)
reagent_list.Cut()
reagent_list = null
if(my_atom && my_atom.reagents == src)
my_atom.reagents = null
my_atom.reagents = null