WIP
This commit is contained in:
@@ -201,15 +201,15 @@
|
||||
icon = 'icons/obj/lavaland/ash_flora.dmi'
|
||||
icon_state = "mushroom_bowl"
|
||||
|
||||
/obj/item/reagent_containers/glass/bowl/mushroom_bowl/update_icon()
|
||||
cut_overlays()
|
||||
if(reagents && reagents.total_volume)
|
||||
var/mutable_appearance/filling = mutable_appearance('icons/obj/lavaland/ash_flora.dmi', "fullbowl")
|
||||
filling.color = mix_color_from_reagents(reagents.reagent_list)
|
||||
add_overlay(filling)
|
||||
else
|
||||
/obj/item/reagent_containers/glass/bowl/mushroom_bowl/update_icon_state()
|
||||
if(!reagents || !reagents.total_volume)
|
||||
icon_state = "mushroom_bowl"
|
||||
|
||||
/obj/item/reagent_containers/glass/bowl/mushroom_bowl/update_overlays()
|
||||
. = ..()
|
||||
if(reagents && reagents.total_volume)
|
||||
. += mutable_appearance('icons/obj/lavaland/ash_flora.dmi', "fullbowl", color = mix_color_from_reagents(reagents.reagent_list))
|
||||
|
||||
/obj/item/reagent_containers/glass/bowl/mushroom_bowl/attackby(obj/item/I,mob/user, params)
|
||||
if(istype(I, /obj/item/reagent_containers/food/snacks))
|
||||
var/obj/item/reagent_containers/food/snacks/S = I
|
||||
|
||||
Reference in New Issue
Block a user