mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-05 23:11:52 +00:00
Fix kebab. (#10173)
Adds rods and brains to the permissible list of items that can be inserted into a cooking container, so you can make the hardcoded kebabs and brain sammiches. Also fixes a problem with the variable food code that would cause recursion and fail to give the output food a name. (Tbqh you can technically make kebabs and sandwiches out of anything buuuuuut. Kebab.)
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
return name
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/variable/get_name_sans_prefix()
|
||||
return jointext(splittext(get_name_sans_prefix(), " ") - prefix, " ")
|
||||
return jointext(splittext(..(), " ") - prefix, " ")
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/variable/proc/update_scale()
|
||||
if (reagents && reagents.total_volume)
|
||||
|
||||
@@ -12,7 +12,9 @@
|
||||
/obj/item/reagent_containers/food/snacks,
|
||||
/obj/item/holder,
|
||||
/obj/item/paper,
|
||||
/obj/item/flame/candle
|
||||
/obj/item/flame/candle,
|
||||
/obj/item/stack/rods,
|
||||
/obj/item/organ/internal/brain
|
||||
)
|
||||
var/appliancetype // Bitfield, uses the same as appliances
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
|
||||
Reference in New Issue
Block a user