mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 04:17:33 +01:00
Wearable wet floor sign (#7575)
You can now wear the wet floor sign. Also tidies up some code here and there. Adds some descriptions too. It provides extremely minor armor.
This commit is contained in:
@@ -75,10 +75,10 @@
|
||||
new /obj/item/clothing/head/soft/purple(src)
|
||||
new /obj/item/gun/energy/mousegun(src)
|
||||
new /obj/item/device/flashlight(src)
|
||||
new /obj/item/caution(src)
|
||||
new /obj/item/caution(src)
|
||||
new /obj/item/caution(src)
|
||||
new /obj/item/caution(src)
|
||||
new /obj/item/clothing/suit/caution(src)
|
||||
new /obj/item/clothing/suit/caution(src)
|
||||
new /obj/item/clothing/suit/caution(src)
|
||||
new /obj/item/clothing/suit/caution(src)
|
||||
new /obj/item/device/lightreplacer(src)
|
||||
new /obj/item/storage/bag/trash(src)
|
||||
new /obj/item/clothing/shoes/galoshes(src)
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
to_chat(user, "<span class='notice'>You put [I] into [src].</span>")
|
||||
return 1
|
||||
|
||||
else if(istype(I, /obj/item/caution))
|
||||
else if(istype(I, /obj/item/clothing/suit/caution))
|
||||
if(signs < 4)
|
||||
user.drop_from_inventory(I,src)
|
||||
signs++
|
||||
@@ -191,7 +191,7 @@
|
||||
mybucket = null
|
||||
|
||||
if (signs)
|
||||
for (var/obj/item/caution/Sign in src)
|
||||
for (var/obj/item/clothing/suit/caution/Sign in src)
|
||||
if (prob(min((chance*2),100)))
|
||||
signs--
|
||||
Sign.forceMove(dropspot)
|
||||
@@ -261,7 +261,7 @@
|
||||
myreplacer = null
|
||||
if("sign")
|
||||
if(signs)
|
||||
var/obj/item/caution/Sign = locate() in src
|
||||
var/obj/item/clothing/suit/caution/Sign = locate() in src
|
||||
if(Sign)
|
||||
user.put_in_hands(Sign)
|
||||
to_chat(user, "<span class='notice'>You take \a [Sign] from [src].</span>")
|
||||
|
||||
Reference in New Issue
Block a user