mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 08:29:57 +01:00
Beakers, bottles and syringe resprite (#13096)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user