mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-04 14:33:30 +00:00
Fixes contraband and arts and craft crate.
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
|
||||
/datum/supply_packs/artscrafts
|
||||
name = "Arts and Crafts supplies"
|
||||
contains = list("/obj/item/toy/crayonbox",
|
||||
contains = list("/obj/item/weapon/storage/crayonbox",
|
||||
"/obj/item/weapon/camera_test",
|
||||
"/obj/item/weapon/storage/photo_album",
|
||||
"/obj/item/weapon/packageWrap",
|
||||
@@ -804,7 +804,7 @@
|
||||
contraband = 1
|
||||
group = "NanoTrasen Contraband Storage"
|
||||
|
||||
/datum/supply_packs/poster/New()
|
||||
/datum/supply_packs/contraband/New()
|
||||
var/list/tempContains = list()
|
||||
for(var/i = 0,i<5,i++)
|
||||
tempContains += pick(contains)
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
H.equip_if_possible(new /obj/item/weapon/bikehorn(H), H.slot_in_backpack)
|
||||
H.equip_if_possible(new /obj/item/weapon/stamp/clown(H), H.slot_in_backpack)
|
||||
H.equip_if_possible(new /obj/item/toy/crayon/rainbow(H), H.slot_in_backpack)
|
||||
H.equip_if_possible(new /obj/item/toy/crayonbox(H), H.slot_in_backpack)
|
||||
H.equip_if_possible(new /obj/item/weapon/storage/crayonbox(H), H.slot_in_backpack)
|
||||
H.mutations |= CLOWN
|
||||
return 1
|
||||
|
||||
|
||||
@@ -38,6 +38,15 @@
|
||||
icon_opened = "crateopen"
|
||||
icon_closed = "crate"
|
||||
|
||||
/obj/structure/closet/crate/contraband
|
||||
name = "Contraband crate"
|
||||
desc = "A random assortment of items manufactured by providers NOT listed under Nanotrasen's whitelist."
|
||||
icon = 'storage.dmi'
|
||||
icon_state = "crate"
|
||||
density = 1
|
||||
icon_opened = "crateopen"
|
||||
icon_closed = "crate"
|
||||
|
||||
/obj/structure/closet/crate/poster
|
||||
name = "Poster crate"
|
||||
desc = "A random assortment of posters manufactured by providers NOT listed under Nanotrasen's whitelist."
|
||||
|
||||
Reference in New Issue
Block a user