Modular items update tweak, Water Sponge vapor function
Changed modular items to update periodically though handle_fatness, not just when fatness is changed. Water Sponge vapor function restored and updated
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
/mob/living/carbon
|
||||
var/modular_items = list()
|
||||
|
||||
/mob/living/carbon/adjust_fatness(adjustment_amount, type_of_fattening = FATTENING_TYPE_ITEM)
|
||||
..()
|
||||
/mob/living/carbon/proc/handle_modular_items(adjustment_amount, type_of_fattening = FATTENING_TYPE_ITEM)
|
||||
for(var/obj/item/item in modular_items)
|
||||
item.update_modular_overlays(src)
|
||||
|
||||
|
||||
@@ -222,6 +222,7 @@
|
||||
|
||||
/datum/species/proc/handle_fatness(mob/living/carbon/human/H)
|
||||
handle_helplessness(H)
|
||||
H.handle_modular_items()
|
||||
|
||||
// update movement speed
|
||||
var/fatness_delay = 0
|
||||
|
||||
Reference in New Issue
Block a user