mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[MIRROR] Cooked steaks are once again edible. (#6577)
* Cooked steaks are once again edible. * FF * Update sheetifier.dm Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk> Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
co-authored by
Timberpoes
Gandalf
parent
ed6d1eef10
commit
a110c0a342
@@ -45,20 +45,21 @@ Behavior that's still missing from this component that original food items had t
|
||||
///The type of atom this creates when the object is microwaved.
|
||||
var/atom/microwaved_type
|
||||
|
||||
/datum/component/edible/Initialize(list/initial_reagents,
|
||||
food_flags = NONE,
|
||||
foodtypes = NONE,
|
||||
volume = 50,
|
||||
eat_time = 10,
|
||||
list/tastes,
|
||||
list/eatverbs = list("bite","chew","nibble","gnaw","gobble","chomp"),
|
||||
bite_consumption = 2,
|
||||
microwaved_type,
|
||||
junkiness,
|
||||
datum/callback/after_eat,
|
||||
datum/callback/on_consume,
|
||||
datum/callback/check_liked)
|
||||
|
||||
/datum/component/edible/Initialize(
|
||||
list/initial_reagents,
|
||||
food_flags = NONE,
|
||||
foodtypes = NONE,
|
||||
volume = 50,
|
||||
eat_time = 10,
|
||||
list/tastes,
|
||||
list/eatverbs = list("bite","chew","nibble","gnaw","gobble","chomp"),
|
||||
bite_consumption = 2,
|
||||
microwaved_type,
|
||||
junkiness,
|
||||
datum/callback/after_eat,
|
||||
datum/callback/on_consume,
|
||||
datum/callback/check_liked,
|
||||
)
|
||||
if(!isatom(parent))
|
||||
return COMPONENT_INCOMPATIBLE
|
||||
|
||||
@@ -111,20 +112,23 @@ Behavior that's still missing from this component that original food items had t
|
||||
else
|
||||
owner.reagents.add_reagent(rid, amount)
|
||||
|
||||
/datum/component/edible/InheritComponent(datum/component/C,
|
||||
/datum/component/edible/InheritComponent(
|
||||
datum/component/C,
|
||||
i_am_original,
|
||||
list/initial_reagents,
|
||||
food_flags = NONE,
|
||||
foodtypes = NONE,
|
||||
volume = 50,
|
||||
eat_time = 30,
|
||||
eat_time = 10,
|
||||
list/tastes,
|
||||
list/eatverbs = list("bite","chew","nibble","gnaw","gobble","chomp"),
|
||||
bite_consumption = 2,
|
||||
microwaved_type,
|
||||
junkiness,
|
||||
datum/callback/after_eat,
|
||||
datum/callback/on_consume
|
||||
)
|
||||
|
||||
datum/callback/on_consume,
|
||||
datum/callback/check_liked,
|
||||
)
|
||||
. = ..()
|
||||
src.bite_consumption = bite_consumption
|
||||
src.food_flags = food_flags
|
||||
|
||||
Reference in New Issue
Block a user