Beakers, bottles and syringe resprite (#13096)

This commit is contained in:
Wowzewow (Wezzy)
2022-03-04 18:45:19 +01:00
committed by GitHub
parent c41b6ee7ba
commit a2f6f55584
26 changed files with 228 additions and 167 deletions
@@ -307,9 +307,38 @@
desc = "A bowl. You bowl foods... wait, what?"
icon = 'icons/obj/kitchen.dmi'
icon_state = "mixingbowl"
filling_states = "-10;10;25;50;75;80;100"
center_of_mass = list("x" = 17,"y" = 7)
max_space = 30
matter = list(DEFAULT_WALL_MATERIAL = 300)
volume = 180
amount_per_transfer_from_this = 10
possible_transfer_amounts = list(5,10,15,25,30,60,180)
/obj/item/reagent_containers/cooking_container/plate/bowl/on_reagent_change()
update_icon()
/obj/item/reagent_containers/cooking_container/plate/bowl/pickup(mob/user)
..()
update_icon()
/obj/item/reagent_containers/cooking_container/plate/bowl/dropped(mob/user)
..()
update_icon()
/obj/item/reagent_containers/cooking_container/plate/bowl/attack_hand()
..()
update_icon()
/obj/item/reagent_containers/cooking_container/plate/bowl/update_icon()
cut_overlays()
if(reagents?.total_volume)
var/mutable_appearance/filling = mutable_appearance('icons/obj/reagentfillings.dmi', "[icon_state][get_filling_state()]")
filling.color = reagents.get_color()
add_overlay(filling)