mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Fixes #2587
This commit is contained in:
@@ -2955,7 +2955,7 @@
|
||||
if( open && pizza )
|
||||
user.put_in_hands(pizza)
|
||||
|
||||
user << "\red You take the [src.pizza] out of the [src]."
|
||||
user << "<span class='notice'>You take \the [src.pizza] out of the [src].</span>"
|
||||
src.pizza = null
|
||||
update_icon()
|
||||
return
|
||||
@@ -2969,7 +2969,7 @@
|
||||
boxes -= box
|
||||
|
||||
user.put_in_hands( box )
|
||||
user << "\red You remove the topmost [src] from your hand."
|
||||
user << "<span class='notice'>You remove \the topmost [src] from your hand.</span>"
|
||||
box.update_icon()
|
||||
update_icon()
|
||||
return
|
||||
@@ -3005,31 +3005,32 @@
|
||||
box.update_icon()
|
||||
update_icon()
|
||||
|
||||
user << "\red You put the [box] ontop of the [src]!"
|
||||
user << "<span class='notice'>You put \the [box] ontop of the [src]!</span>"
|
||||
else
|
||||
user << "\red The stack is too high!"
|
||||
user << "<span class='warning'>\The stack is too high!</span>"
|
||||
else
|
||||
user << "\red Close the [box] first!"
|
||||
user << "<span class='warning'>Close \the [box] first!</span>"
|
||||
|
||||
return
|
||||
|
||||
if(istype(I, /obj/item/weapon/reagent_containers/food/snacks/sliceable/pizza/)) // Long ass fucking object name
|
||||
|
||||
if( src.open )
|
||||
if(open)
|
||||
if(!pizza)
|
||||
user.drop_item()
|
||||
I.loc = src
|
||||
src.pizza = I
|
||||
|
||||
pizza = I
|
||||
update_icon()
|
||||
|
||||
user << "\red You put the [I] in the [src]!"
|
||||
user << "<span class='notice'>You put \the [I] in \the [src]!</span>"
|
||||
else
|
||||
user << "\red You try to push the [I] through the lid but it doesn't work!"
|
||||
user << "<span class='warning'>\The [src] is full! It already has a [pizza] inside.</span>"
|
||||
else
|
||||
user << "<span class='warning'>You try to push \the [I] through the lid but it doesn't work!</span>"
|
||||
|
||||
return
|
||||
|
||||
if(istype(I, /obj/item/weapon/pen/))
|
||||
|
||||
if( src.open )
|
||||
if(open)
|
||||
return
|
||||
|
||||
var/t = sanitize(input("Enter what you want to add to the tag:", "Write", null, null) as text, 30)
|
||||
|
||||
Reference in New Issue
Block a user