mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-29 19:43:52 +00:00
Adds wearing cones and caution signs (#7466)
* Adds wearing cones and caution signs * Fixes quarantine shuttle PoI * Create Lorilili - janiwear.yml
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
/obj/item/clothing/head/soft/purple,
|
||||
/obj/item/clothing/head/beret/purple,
|
||||
/obj/item/device/flashlight,
|
||||
/obj/item/weapon/caution = 4,
|
||||
/obj/item/clothing/suit/caution = 4,
|
||||
/obj/item/device/lightreplacer,
|
||||
/obj/item/weapon/storage/bag/trash,
|
||||
/obj/item/weapon/storage/belt/janitor,
|
||||
|
||||
@@ -93,7 +93,7 @@ GLOBAL_LIST_BOILERPLATE(all_janitorial_carts, /obj/structure/janitorialcart)
|
||||
to_chat(user, "<span class='notice'>You put [I] into [src].</span>")
|
||||
return 1
|
||||
|
||||
else if(istype(I, /obj/item/weapon/caution))
|
||||
else if(istype(I, /obj/item/clothing/suit/caution))
|
||||
if(signs < 4)
|
||||
user.unEquip(I, 0, src)
|
||||
signs++
|
||||
@@ -192,7 +192,7 @@ GLOBAL_LIST_BOILERPLATE(all_janitorial_carts, /obj/structure/janitorialcart)
|
||||
myreplacer = null
|
||||
if("sign")
|
||||
if(signs)
|
||||
var/obj/item/weapon/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>")
|
||||
@@ -258,7 +258,7 @@ GLOBAL_LIST_BOILERPLATE(all_janitorial_carts, /obj/structure/janitorialcart)
|
||||
mybucket = null
|
||||
|
||||
if (signs)
|
||||
for (var/obj/item/weapon/caution/Sign in src)
|
||||
for (var/obj/item/clothing/suit/caution/Sign in src)
|
||||
if (prob(min((chance*2),100)))
|
||||
signs--
|
||||
Sign.forceMove(dropspot)
|
||||
|
||||
@@ -192,8 +192,8 @@ Loot piles can be depleted, if loot_depleted is turned on. Note that players wh
|
||||
/obj/item/weapon/spacecash/c10,
|
||||
/obj/item/weapon/spacecash/c20,
|
||||
/obj/item/weapon/camera_assembly,
|
||||
/obj/item/weapon/caution,
|
||||
/obj/item/weapon/caution/cone,
|
||||
/obj/item/clothing/suit/caution,
|
||||
/obj/item/clothing/head/cone,
|
||||
/obj/item/weapon/card/emag_broken,
|
||||
/obj/item/device/camera,
|
||||
/obj/item/device/pda,
|
||||
|
||||
Reference in New Issue
Block a user