mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 21:19:44 +01:00
Adds compatability with cooking code
This commit is contained in:
@@ -11,8 +11,14 @@
|
||||
var/slices_num
|
||||
var/dried_type = null
|
||||
var/dry = 0
|
||||
var/nutriment_amt = 0
|
||||
center_of_mass = list("x"=16, "y"=16)
|
||||
w_class = 2
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/New()
|
||||
..()
|
||||
if(nutriment_amt)
|
||||
reagents.add_reagent("nutriment", nutriment_amt)
|
||||
|
||||
//Placeholder for effect that trigger on eating that aren't tied to reagents.
|
||||
/obj/item/weapon/reagent_containers/food/snacks/proc/On_Consume(var/mob/M)
|
||||
|
||||
Reference in New Issue
Block a user