Skip to content

Commit

Permalink
more cruft behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutFalcon committed May 15, 2024
1 parent 6ff0ac3 commit 5f39bc8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 19 deletions.
2 changes: 1 addition & 1 deletion _maps/shuttles/independent/independent_bubble.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@
},
/obj/item/circuitboard/computer/selling_pad_control,
/obj/item/circuitboard/machine/selling_pad,
/obj/item/circuitboard/computer/cargo/express,
/obj/item/circuitboard/computer/cargo,
/obj/structure/closet/crate/engineering,
/turf/open/floor/plasteel,
/area/ship/cargo)
Expand Down
2 changes: 1 addition & 1 deletion _maps/shuttles/independent/independent_junker.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -2277,7 +2277,7 @@
},
/obj/effect/decal/cleanable/glass,
/obj/structure/safe/floor,
/obj/item/circuitboard/computer/cargo/express,
/obj/item/circuitboard/computer/cargo,
/turf/open/floor/pod/dark,
/area/ship/crew/office)
"Rj" = (
Expand Down
12 changes: 1 addition & 11 deletions code/game/objects/items/circuitboards/computer_circuitboards.dm
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@
build_path = /obj/machinery/computer/bounty

/obj/item/circuitboard/computer/cargo
name = "Supply Console (Computer Board)"
name = "Outpost Comms Console (Computer Board)"
icon_state = "supply"
build_path = /obj/machinery/computer/cargo
var/contraband = FALSE
Expand All @@ -381,16 +381,6 @@
obj_flags |= EMAGGED
to_chat(user, "<span class='notice'>You adjust [src]'s routing and receiver spectrum, unlocking special supplies and contraband.</span>")

/obj/item/circuitboard/computer/cargo/express
name = "Outpost Comms Console (Computer Board)"
build_path = /obj/machinery/computer/cargo

/obj/item/circuitboard/computer/cargo/express/multitool_act(mob/living/user)
return

/obj/item/circuitboard/computer/cargo/express/emag_act(mob/living/user)
return

/obj/item/circuitboard/computer/mining
name = "Outpost Status Display (Computer Board)"
icon_state = "supply"
Expand Down
6 changes: 1 addition & 5 deletions code/modules/cargo/console.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@
desc = "This console allows the user to communicate with a nearby outpost to \
purchase supplies and manage missions. Purchases are delivered near-instantly."
icon_screen = "supply_express"
circuit = /obj/item/circuitboard/computer/cargo/express
circuit = /obj/item/circuitboard/computer/cargo
light_color = COLOR_BRIGHT_ORANGE

var/contraband = FALSE
var/self_paid = FALSE
var/safety_warning = "For safety reasons, the automated supply shuttle \
cannot transport live organisms, human remains, classified nuclear weaponry, \
homing beacons or machinery housing any form of artificial intelligence."
/// radio used by the console to send messages on supply channel
var/obj/item/radio/headset/radio
/// var that tracks message cooldown
var/message_cooldown

Expand All @@ -43,7 +41,6 @@

/obj/machinery/computer/cargo/Initialize()
. = ..()
radio = new /obj/item/radio/headset/headset_cargo(src)
var/obj/item/circuitboard/computer/cargo/board = circuit
contraband = board.contraband
if (board.obj_flags & EMAGGED)
Expand All @@ -55,7 +52,6 @@
/obj/machinery/computer/cargo/Destroy()
if(beacon)
beacon.unlink_console()
QDEL_NULL(radio)
return ..()

/obj/machinery/computer/cargo/proc/get_export_categories()
Expand Down
2 changes: 1 addition & 1 deletion code/modules/research/designs/mining_designs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
id = "cargoexpress"//the coder reading this
build_type = IMPRINTER
materials = list(/datum/material/glass = 1000)
build_path = /obj/item/circuitboard/computer/cargo/express
build_path = /obj/item/circuitboard/computer/cargo
category = list("Mining Designs")
departmental_flags = DEPARTMENTAL_FLAG_CARGO

Expand Down

0 comments on commit 5f39bc8

Please sign in to comment.