mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-20 15:21:29 +00:00
* Adds the check components * Adds in trailing newlines * Converts all CRLF to LF * Post merge EOF * Post merge line endings * Final commit
96 lines
3.0 KiB
Plaintext
96 lines
3.0 KiB
Plaintext
/**********************Light************************/
|
|
|
|
//this item is intended to give the effect of entering the mine, so that light gradually fades
|
|
/obj/effect/light_emitter
|
|
name = "Light emitter"
|
|
anchored = TRUE
|
|
invisibility = 101
|
|
var/set_luminosity = 8
|
|
var/set_cap = 0
|
|
|
|
/obj/effect/light_emitter/Initialize(mapload)
|
|
. = ..()
|
|
set_light(set_luminosity, set_cap)
|
|
|
|
/obj/effect/light_emitter/singularity_pull()
|
|
return
|
|
|
|
/obj/effect/light_emitter/singularity_act()
|
|
return
|
|
|
|
/**********************Miner Lockers**************************/
|
|
|
|
/obj/structure/closet/wardrobe/miner
|
|
name = "mining wardrobe"
|
|
icon_state = "mixed"
|
|
icon_closed = "mixed"
|
|
|
|
/obj/structure/closet/wardrobe/miner/New()
|
|
..()
|
|
contents = list()
|
|
new /obj/item/storage/backpack/duffel(src)
|
|
new /obj/item/storage/backpack/explorer(src)
|
|
new /obj/item/storage/backpack/satchel/explorer(src)
|
|
new /obj/item/clothing/under/rank/miner/lavaland(src)
|
|
new /obj/item/clothing/under/rank/miner/lavaland(src)
|
|
new /obj/item/clothing/under/rank/miner/lavaland(src)
|
|
new /obj/item/clothing/shoes/workboots/mining(src)
|
|
new /obj/item/clothing/shoes/workboots/mining(src)
|
|
new /obj/item/clothing/shoes/workboots/mining(src)
|
|
new /obj/item/clothing/gloves/color/black(src)
|
|
new /obj/item/clothing/gloves/color/black(src)
|
|
new /obj/item/clothing/gloves/color/black(src)
|
|
|
|
/obj/structure/closet/secure_closet/miner
|
|
name = "miner's equipment"
|
|
icon_state = "miningsec1"
|
|
icon_closed = "miningsec"
|
|
icon_locked = "miningsec1"
|
|
icon_opened = "miningsecopen"
|
|
icon_broken = "miningsecbroken"
|
|
icon_off = "miningsecoff"
|
|
req_access = list(ACCESS_MINING)
|
|
|
|
/obj/structure/closet/secure_closet/miner/New()
|
|
..()
|
|
new /obj/item/stack/sheet/mineral/sandbags(src, 5)
|
|
new /obj/item/storage/box/emptysandbags(src)
|
|
new /obj/item/shovel(src)
|
|
new /obj/item/pickaxe/mini(src)
|
|
new /obj/item/radio/headset/headset_cargo/mining(src)
|
|
new /obj/item/flashlight/seclite(src)
|
|
new /obj/item/storage/bag/plants(src)
|
|
new /obj/item/storage/bag/ore(src)
|
|
new /obj/item/t_scanner/adv_mining_scanner/lesser(src)
|
|
new /obj/item/gun/energy/kinetic_accelerator(src)
|
|
new /obj/item/clothing/glasses/meson(src)
|
|
new /obj/item/survivalcapsule(src)
|
|
|
|
/**********************Shuttle Computer**************************/
|
|
|
|
/obj/machinery/computer/shuttle/mining
|
|
name = "Mining Shuttle Console"
|
|
desc = "Used to call and send the mining shuttle."
|
|
circuit = /obj/item/circuitboard/mining_shuttle
|
|
shuttleId = "mining"
|
|
possible_destinations = "mining_home;mining_away"
|
|
|
|
/******************************Lantern*******************************/
|
|
|
|
/obj/item/flashlight/lantern
|
|
name = "lantern"
|
|
icon_state = "lantern"
|
|
item_state = "lantern"
|
|
desc = "A mining lantern."
|
|
brightness_on = 6 // luminosity when on
|
|
|
|
/**********************Mining car (Crate like thing, not the rail car)**************************/
|
|
|
|
/obj/structure/closet/crate/miningcar
|
|
desc = "A mining car. This one doesn't work on rails, but has to be dragged."
|
|
name = "mining car (not for rails)"
|
|
icon_state = "miningcar"
|
|
density = 1
|
|
icon_opened = "miningcaropen"
|
|
icon_closed = "miningcar"
|