mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-12 00:20:55 +01:00
Merge pull request #418 from ArchieBeepBoop/cake_patch
Grindable Urinal Cakes
This commit is contained in:
@@ -133,7 +133,7 @@
|
||||
|
||||
/obj/structure/urinal/New()
|
||||
..()
|
||||
hiddenitem = new /obj/item/reagent_containers/food/urinalcake
|
||||
hiddenitem = new /obj/item/reagent_containers/food/snacks/urinalcake
|
||||
|
||||
/obj/structure/urinal/attack_hand(mob/user)
|
||||
. = ..()
|
||||
@@ -193,15 +193,16 @@
|
||||
return TRUE
|
||||
|
||||
|
||||
/obj/item/reagent_containers/food/urinalcake
|
||||
/obj/item/reagent_containers/food/snacks/urinalcake
|
||||
name = "urinal cake"
|
||||
desc = "The noble urinal cake, protecting the station's pipes from the station's pee. Do not eat."
|
||||
icon = 'icons/obj/items_and_weapons.dmi'
|
||||
icon_state = "urinalcake"
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
list_reagents = list("chlorine" = 3, "ammonia" = 1)
|
||||
list_reagents = list(chlorine = 3, ammonia = 1)
|
||||
foodtype = TOXIC | GROSS
|
||||
|
||||
/obj/item/reagent_containers/food/urinalcake/attack_self(mob/living/user)
|
||||
/obj/item/reagent_containers/food/snacks/urinalcake/attack_self(mob/living/user)
|
||||
user.visible_message("<span class='notice'>[user] squishes [src]!</span>", "<span class='notice'>You squish [src].</span>", "<i>You hear a squish.</i>")
|
||||
icon_state = "urinalcake_squish"
|
||||
addtimer(VARSET_CALLBACK(src, icon_state, "urinalcake"), 8)
|
||||
|
||||
Reference in New Issue
Block a user