This commit is contained in:
Yoshax
2016-10-07 03:06:49 +01:00
parent 5819397a0a
commit 8c02e93b03

View File

@@ -2955,7 +2955,7 @@
if( open && pizza ) if( open && pizza )
user.put_in_hands(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 src.pizza = null
update_icon() update_icon()
return return
@@ -2969,7 +2969,7 @@
boxes -= box boxes -= box
user.put_in_hands( 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() box.update_icon()
update_icon() update_icon()
return return
@@ -3005,31 +3005,32 @@
box.update_icon() box.update_icon()
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 else
user << "\red The stack is too high!" user << "<span class='warning'>\The stack is too high!</span>"
else else
user << "\red Close the [box] first!" user << "<span class='warning'>Close \the [box] first!</span>"
return return
if(istype(I, /obj/item/weapon/reagent_containers/food/snacks/sliceable/pizza/)) // Long ass fucking object name 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() user.drop_item()
I.loc = src I.loc = src
src.pizza = I pizza = I
update_icon() update_icon()
user << "<span class='notice'>You put \the [I] in \the [src]!</span>"
user << "\red You put the [I] in the [src]!"
else 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 return
if(istype(I, /obj/item/weapon/pen/)) if(istype(I, /obj/item/weapon/pen/))
if(open)
if( src.open )
return return
var/t = sanitize(input("Enter what you want to add to the tag:", "Write", null, null) as text, 30) var/t = sanitize(input("Enter what you want to add to the tag:", "Write", null, null) as text, 30)