Bleeding edgy refresh (#303)
* not code stuff * other things * global vars, defines, helpers * onclick hud stuff, orphans, world.dm * controllers and datums * game folder * everything not client/mobs in modules * client folder * stage 1 mob stuff * simple animal things * silicons * carbon things * ayylmaos and monkeys * hyoomahn * icons n shit * sprite fixes * compile fixes * some fixes I cherrypicked. * qdel fixes * forgot brain refractors
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
var/safety_warning = "For safety reasons the automated supply shuttle \
|
||||
cannot transport live organisms, classified nuclear weaponry or \
|
||||
homing beacons."
|
||||
|
||||
light_color = "#E2853D"//orange
|
||||
|
||||
/obj/machinery/computer/cargo/request
|
||||
name = "supply request console"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
/obj/item/device/export_scanner/examine(user)
|
||||
..()
|
||||
if(!cargo_console)
|
||||
user << "<span class='notice'>The [src] is currently not linked to a cargo console.</span>"
|
||||
to_chat(user, "<span class='notice'>The [src] is currently not linked to a cargo console.</span>")
|
||||
|
||||
/obj/item/device/export_scanner/afterattack(obj/O, mob/user, proximity)
|
||||
if(!istype(O) || !proximity)
|
||||
@@ -21,17 +21,15 @@
|
||||
var/obj/machinery/computer/cargo/C = O
|
||||
if(!C.requestonly)
|
||||
cargo_console = C
|
||||
user << "<span class='notice'>Scanner linked to [C].</span>"
|
||||
to_chat(user, "<span class='notice'>Scanner linked to [C].</span>")
|
||||
else if(!istype(cargo_console))
|
||||
user << "<span class='warning'>You must link [src] to a cargo console first!</span>"
|
||||
to_chat(user, "<span class='warning'>You must link [src] to a cargo console first!</span>")
|
||||
else
|
||||
// Before you fix it:
|
||||
// yes, checking manifests is a part of intended functionality.
|
||||
var/price = export_item_and_contents(O, cargo_console.contraband, cargo_console.emagged, dry_run=TRUE)
|
||||
|
||||
if(price)
|
||||
user << "<span class='notice'>Scanned [O], value: <b>[price]</b> \
|
||||
credits[O.contents.len ? " (contents included)" : ""].</span>"
|
||||
to_chat(user, "<span class='notice'>Scanned [O], value: <b>[price]</b> credits[O.contents.len ? " (contents included)" : ""].</span>")
|
||||
else
|
||||
user << "<span class='warning'>Scanned [O], no export value. \
|
||||
</span>"
|
||||
to_chat(user, "<span class='warning'>Scanned [O], no export value.</span>")
|
||||
|
||||
@@ -91,7 +91,7 @@ Credit dupes that require a lot of manual work shouldn't be removed, unless they
|
||||
return FALSE
|
||||
if(!get_cost(O, contr, emag))
|
||||
return FALSE
|
||||
if(O.flags & HOLOGRAM)
|
||||
if(HAS_SECONDARY_FLAG(O, HOLOGRAM))
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
|
||||
@@ -345,7 +345,7 @@
|
||||
|
||||
/datum/supply_pack/security/armory/ballistic
|
||||
name = "Combat Shotguns Crate"
|
||||
cost = 4000
|
||||
cost = 8000
|
||||
contains = list(/obj/item/weapon/gun/ballistic/shotgun/automatic/combat,
|
||||
/obj/item/weapon/gun/ballistic/shotgun/automatic/combat,
|
||||
/obj/item/weapon/gun/ballistic/shotgun/automatic/combat,
|
||||
@@ -1006,7 +1006,14 @@
|
||||
/obj/item/weapon/reagent_containers/food/drinks/beer,
|
||||
/obj/item/weapon/reagent_containers/food/drinks/beer,
|
||||
/obj/item/weapon/reagent_containers/food/drinks/beer,
|
||||
/obj/item/weapon/reagent_containers/food/drinks/beer)
|
||||
/obj/item/weapon/reagent_containers/food/drinks/beer,
|
||||
/obj/item/device/flashlight/glowstick,
|
||||
/obj/item/device/flashlight/glowstick/red,
|
||||
/obj/item/device/flashlight/glowstick/blue,
|
||||
/obj/item/device/flashlight/glowstick/cyan,
|
||||
/obj/item/device/flashlight/glowstick/orange,
|
||||
/obj/item/device/flashlight/glowstick/yellow,
|
||||
/obj/item/device/flashlight/glowstick/pink)
|
||||
crate_name = "party equipment crate"
|
||||
|
||||
/datum/supply_pack/organic/critter
|
||||
@@ -1567,7 +1574,7 @@
|
||||
contraband = TRUE
|
||||
cost = 3000
|
||||
num_contained = 6
|
||||
contains = list(/obj/item/weapon/poster/contraband,
|
||||
contains = list(/obj/item/weapon/poster/random_contraband,
|
||||
/obj/item/weapon/storage/fancy/cigarettes/cigpack_shadyjims,
|
||||
/obj/item/weapon/storage/fancy/cigarettes/cigpack_midori,
|
||||
/obj/item/seeds/ambrosia/deus,
|
||||
@@ -1577,6 +1584,7 @@
|
||||
/datum/supply_pack/misc/randomised/toys
|
||||
name = "Toy Crate"
|
||||
cost = 5000 // or play the arcade machines ya lazy bum
|
||||
// TODO make this actually just use the arcade machine loot list
|
||||
num_contained = 5
|
||||
contains = list(/obj/item/toy/spinningtoy,
|
||||
/obj/item/toy/sword,
|
||||
@@ -1591,7 +1599,8 @@
|
||||
/obj/item/weapon/coin/antagtoken,
|
||||
/obj/item/stack/tile/fakespace/loaded,
|
||||
/obj/item/weapon/gun/ballistic/shotgun/toy/crossbow,
|
||||
/obj/item/toy/redbutton)
|
||||
/obj/item/toy/redbutton,
|
||||
/obj/item/toy/eightball)
|
||||
crate_name = "toy crate"
|
||||
|
||||
/datum/supply_pack/misc/autodrobe
|
||||
@@ -1696,7 +1705,12 @@
|
||||
cost = 12000
|
||||
special = TRUE
|
||||
contains = list(
|
||||
/obj/item/weapon/circuitboard/machine/dna_vault
|
||||
/obj/item/weapon/circuitboard/machine/dna_vault,
|
||||
/obj/item/device/dna_probe,
|
||||
/obj/item/device/dna_probe,
|
||||
/obj/item/device/dna_probe,
|
||||
/obj/item/device/dna_probe,
|
||||
/obj/item/device/dna_probe
|
||||
)
|
||||
crate_name= "dna vault parts crate"
|
||||
|
||||
@@ -1733,3 +1747,10 @@
|
||||
/obj/item/weapon/circuitboard/machine/computer/sat_control
|
||||
)
|
||||
crate_name= "shield control board crate"
|
||||
|
||||
/datum/supply_pack/misc/bicycle
|
||||
name = "Bicycle"
|
||||
cost = 10000
|
||||
contains = list(/obj/vehicle/bicycle)
|
||||
crate_name = "Bicycle Crate"
|
||||
crate_type = /obj/structure/closet/crate/large
|
||||
|
||||
Reference in New Issue
Block a user