Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion __DEFINES/gases.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@
#define GAS_CRYOTHEUM "cryotheum"
#define GAS_VOLATILE "volatile_fuel"
#define GAS_OXAGENT "oxygen_agent_b"
#define GAS_RADON "radon"
8 changes: 0 additions & 8 deletions __DEFINES/reagents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#define CHEMFLAG_DISHONORABLE 1
#define CHEMFLAG_OBSCURING 2
#define CHEMFLAG_PIGMENT 4
#define CHEMFLAG_NOTREMOVABLE 8 //cannot be rid of by charcoal (or other reagent tomfoolery means).

#define EXPLICITLY_INVALID_REAGENT_ID "Use this ID if the reagent is not supposed to be used, like for the base type of other reagents."

Expand Down Expand Up @@ -542,13 +541,6 @@
#define FLAXOIL "flax_oil"
#define WAX "wax"

#define PLUTONIUM "plutonium"
#define RADON "radon"
#define LEAD "lead"
#define THALLIUM "thallium"
#define REGENERATECALCIUM "regeneratecalcium"
#define EQUALIZONE "equalizone"

#define DYE_DANDELIONS "dandelion_dye"

// How many units of reagent are consumed per tick, by default.
Expand Down
1 change: 0 additions & 1 deletion __DEFINES/setup.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1775,7 +1775,6 @@ var/proccalls = 1
#define COMPUTER "computer"
#define EMBEDDED_CONTROLLER "embedded controller"
#define OTHER "other"
#define MACHINE_REINFORCED "reinforced machine"

// Bedsheet altering
#define PLAIDPATTERN_INCOMPATIBLE 0
Expand Down
10 changes: 0 additions & 10 deletions code/ZAS/Radon.dm

This file was deleted.

18 changes: 0 additions & 18 deletions code/ZAS/XGM_gases.dm
Original file line number Diff line number Diff line change
Expand Up @@ -143,21 +143,3 @@
/obj/effect/overlay/gas_overlay/cryotheum
name = "cryotheum"
icon_state = "cryotheum"

/datum/gas/radon
id = GAS_RADON
name = "Radon"
short_name = "Rn"
specific_heat = 20

molar_mass = 0.222 //i think i did this right

flags = XGM_GAS_NOTEWORTHY | XGM_GAS_LOGGED

/datum/gas/radon/is_human_safe(moles, datum/gas_mixture/mixture)
return moles/mixture.total_moles() < 0.01





6 changes: 0 additions & 6 deletions code/controllers/subsystem/machinery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ var/datum/subsystem/machinery/SSmachinery

var/list/machines = list()

var/list/global/fissionreactorlist=list()

/datum/subsystem/machinery
name = "Machinery"
Expand Down Expand Up @@ -33,11 +32,6 @@ var/list/global/fissionreactorlist=list()
if (!resumed)
currentrun = get_currenrun()

for(var/datum/fission_reactor_holder/reactor in fissionreactorlist)
reactor.fissioncycle()
reactor.coolantcycle()
reactor.misccycle()

var/obj/machinery/M
var/c = currentrun_index
while (c)
Expand Down
68 changes: 0 additions & 68 deletions code/datums/supply_packs/engineering.dm
Original file line number Diff line number Diff line change
Expand Up @@ -420,71 +420,3 @@
access = list(access_engine_minor)
group = "Engineering"
containsdesc = "A cutting edge machine that tears into a universe orthogonal to ours and applies alternative laws of physics to gaseous oxygen in its immediate vicinity. Requires a bluespace crystal to work (an artificial crystal comes with this crate!)."

/datum/supply_packs/fissionreactor_starterkit
contains = list(
/obj/item/weapon/fuelrod/small/starter,
/obj/item/weapon/book/manual/engineering_fissionreactor_guide,
/obj/item/weapon/storage/box/fissionsupply_controller, //makes a crappy 1x2 interior. but it'll do.
/obj/item/weapon/storage/box/fissionsupply_genericassembly,
/obj/item/weapon/storage/box/fissionsupply_genericassembly,
/obj/item/weapon/storage/box/fissionsupply_fuelmaker,
/obj/item/weapon/circuitboard/fission_control_rod,
/obj/item/weapon/circuitboard/fission_fuel_rod,
/obj/item/weapon/storage/box/fissionsupply_casing,
/obj/item/weapon/storage/box/fissionsupply_casing,
/obj/item/weapon/storage/box/fissionsupply_casing,
/obj/item/weapon/storage/box/fissionsupply_casing,
/obj/item/weapon/storage/box/fissionsupply_casing,
/obj/item/weapon/storage/box/fissionsupply_casing,
/obj/item/weapon/storage/box/fissionsupply_casing,
/obj/item/weapon/storage/box/fissionsupply_casing,
/obj/item/weapon/storage/box/fissionsupply_casing,

)
name = "Fission reactor starter kit"
cost = 500 //Includes a lot of plasteel. Fuck you, ask the miners for more you socially inept jobbie.
containertype = /obj/structure/closet/crate/secure/large/reinforced/shard/empty
containername = "Fission reactor starter kit"
group = "Engineering"
access = list(access_engine_major)
containsdesc = "Everything you need to build a very basic fission reactor. Comes with a pre-filled (albeit small) fuel rod."

/datum/supply_packs/fissionreactor_expansion
contains = list(
/obj/item/weapon/storage/box/fissionsupply_genericassembly,
/obj/item/weapon/storage/box/fissionsupply_genericassembly,
/obj/item/weapon/circuitboard/fission_control_rod, //gives you 2 expansion parts (control/fuel rod) and the casing needed to add.
/obj/item/weapon/circuitboard/fission_fuel_rod,
/obj/item/weapon/circuitboard/fission_control_rod,
/obj/item/weapon/circuitboard/fission_fuel_rod,
/obj/item/weapon/storage/box/fissionsupply_casing,
/obj/item/weapon/storage/box/fissionsupply_casing,
/obj/item/weapon/storage/box/fissionsupply_casing,
/obj/item/weapon/storage/box/fissionsupply_casing,
)
name = "Fission reactor expansion pak"
cost = 200 //See above.
containertype = /obj/structure/closet/crate/secure/large/reinforced/shard/empty
containername = "Fission reactor expansion pak"
group = "Engineering"
access = list(access_engine_major)
containsdesc = "Contains supplies to expand an existing fission reactor. Remember to turn it off and drain the coolant first!"

/datum/supply_packs/fissionreactor_bigrod
contains = list(
/obj/item/weapon/fuelrod/large
)
name = "High-capacity fuel rod"
cost = 100 //It's a one time purchance, really. somewhat costy, but not that much for a department. watch for meltdowns.
containertype = /obj/structure/closet/crate/secure/large/reinforced/shard/empty
containername = "Large fuel rod"
group = "Engineering"
access = list(access_engine_major)
containsdesc = "An extra-large fuel rod, for extra power or for more complex fuel mixes. Use with extreme caution and control rods inserted."






4 changes: 0 additions & 4 deletions code/game/area/Space Station 13 areas.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1351,10 +1351,6 @@ var/global/list/adminbusteleportlocs = list()
name = "Antimatter Engine Room"
icon_state = "antimatter"

/area/engineering/reactor_room
name = "Fission Reactor Room"
icon_state = "fission"

/area/engineering/engineering_auxiliary
name = "Auxiliary Engineering"
icon_state = "engiaux"
Expand Down
9 changes: 1 addition & 8 deletions code/game/machinery/alarm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@
GAS_CARBON = new /datum/airalarm_threshold(-1, -1, -1, -1),
GAS_PLASMA = new /datum/airalarm_threshold(-1, -1, -1, -1),
GAS_SLEEPING = new /datum/airalarm_threshold(-1, -1, -1, -1),
GAS_CRYOTHEUM = new /datum/airalarm_threshold(-1, -1, -1, -1),
GAS_RADON = new /datum/airalarm_threshold(-1, -1, -1, -1))
GAS_CRYOTHEUM = new /datum/airalarm_threshold(-1, -1, -1, -1) )
// Partial pressure, kpa threshold for any gas not included in gas_thresholds. These gasses are added up.
var/datum/airalarm_threshold/other_gas_threshold = new /datum/airalarm_threshold(-1, -1, -1, -1)
// Kpa thresholds for what pressures are acceptable.
Expand Down Expand Up @@ -197,7 +196,6 @@
GAS_NITROGEN = new /datum/airalarm_threshold(-1, -1, -1, -1),
GAS_CARBON = new /datum/airalarm_threshold(-1, -1, 5, 10),
GAS_PLASMA = new /datum/airalarm_threshold(-1, -1, 0.2, 0.5),
GAS_RADON = new /datum/airalarm_threshold(-1, -1, 0.05, 0.1),
GAS_SLEEPING = new /datum/airalarm_threshold(-1, -1, 0.5, 1),
GAS_CRYOTHEUM = new /datum/airalarm_threshold(-1, -1, 0.5, 1) )
other_gas_threshold = new /datum/airalarm_threshold(-1, -1, 0.5, 1)
Expand All @@ -214,7 +212,6 @@
GAS_NITROGEN = new /datum/airalarm_threshold(16, 18, 135, 140),
GAS_CARBON = new /datum/airalarm_threshold(-1, -1, 5, 10),
GAS_PLASMA = new /datum/airalarm_threshold(-1, -1, 0.2, 0.5),
GAS_RADON = new /datum/airalarm_threshold(-1, -1, 0.05, 0.1),
GAS_SLEEPING = new /datum/airalarm_threshold(-1, -1, 0.5, 1),
GAS_CRYOTHEUM = new /datum/airalarm_threshold(-1, -1, 0.5, 1) )
other_gas_threshold = new /datum/airalarm_threshold(-1, -1, 0.5, 1)
Expand All @@ -231,7 +228,6 @@
GAS_NITROGEN = new /datum/airalarm_threshold(-1, -1, -1, -1),
GAS_CARBON = new /datum/airalarm_threshold(-1, -1, 5, 10),
GAS_PLASMA = new /datum/airalarm_threshold(-1, -1, 0.2, 0.5),
GAS_RADON = new /datum/airalarm_threshold(-1, -1, 0.05, 0.1),
GAS_SLEEPING = new /datum/airalarm_threshold(-1, -1, 0.5, 1),
GAS_CRYOTHEUM = new /datum/airalarm_threshold(-1, -1, 0.5, 1) )
other_gas_threshold = new /datum/airalarm_threshold(-1, -1, 0.5, 1)
Expand All @@ -248,7 +244,6 @@
GAS_NITROGEN = new /datum/airalarm_threshold(-1, -1, -1, -1),
GAS_CARBON = new /datum/airalarm_threshold(-1, -1, 5, 10),
GAS_PLASMA = new /datum/airalarm_threshold(16, 18, 135, 140),
GAS_RADON = new /datum/airalarm_threshold(-1, -1, 0.05, 0.1),
GAS_SLEEPING = new /datum/airalarm_threshold(-1, -1, 0.5, 1),
GAS_CRYOTHEUM = new /datum/airalarm_threshold(-1, -1, 0.5, 1) )
other_gas_threshold = new /datum/airalarm_threshold(-1, -1, 0.5, 1)
Expand All @@ -265,7 +260,6 @@
GAS_NITROGEN = new /datum/airalarm_threshold(-1, -1, 0.5, 1),
GAS_CARBON = new /datum/airalarm_threshold(-1, -1, 0.5, 1),
GAS_PLASMA = new /datum/airalarm_threshold(-1, -1, 0.5, 1),
GAS_RADON = new /datum/airalarm_threshold(-1, -1, 0.5, 1),
GAS_SLEEPING = new /datum/airalarm_threshold(-1, -1, 0.5, 1),
GAS_CRYOTHEUM = new /datum/airalarm_threshold(-1, -1, 0.5, 1) )
other_gas_threshold = new /datum/airalarm_threshold(-1, -1, 0.5, 1)
Expand All @@ -282,7 +276,6 @@
GAS_NITROGEN = new /datum/airalarm_threshold(16, 18, 135, 140),
GAS_CARBON = new /datum/airalarm_threshold(-1, -1, -1, -1),
GAS_PLASMA = new /datum/airalarm_threshold(-1, -1, 0.2, 0.5),
GAS_RADON = new /datum/airalarm_threshold(-1, -1, 0.05, 0.1),
GAS_SLEEPING = new /datum/airalarm_threshold(-1, -1, -1, -1),
GAS_CRYOTHEUM = new /datum/airalarm_threshold(-1, -1, -1, -1) )
other_gas_threshold = new /datum/airalarm_threshold(-1, -1, 0.5, 1)
Expand Down
13 changes: 0 additions & 13 deletions code/game/machinery/atmoalter/canister.dm
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,6 @@
canister_color = "grey"
can_label = 0

/obj/machinery/portable_atmospherics/canister/radon //for testing (or admin shittery)
name = "Canister \[Rn\]"
icon_state = "green"
canister_color = "green"
can_label = 0

/obj/machinery/portable_atmospherics/canister/update_icon()
if(destroyed)
icon_state = "[canister_color]-1"
Expand Down Expand Up @@ -405,7 +399,6 @@
"\[CO2\]" = "black", \
"\[Air\]" = "grey", \
"\[CAUTION\]" = "yellow", \
"\[Rn\]" = "green", \
)
var/label = input("Choose canister label", "Gas canister") as null|anything in colors
if (label)
Expand Down Expand Up @@ -453,12 +446,6 @@

update_icon()


/obj/machinery/portable_atmospherics/canister/radon/New(loc)
..(loc)
air_contents.adjust_gas(GAS_RADON, (maximum_pressure * filled) * air_contents.volume / (R_IDEAL_GAS_EQUATION * air_contents.temperature))
update_icon()

/obj/machinery/portable_atmospherics/canister/proc/weld(var/obj/item/tool/weldingtool/WT, var/mob/user)


Expand Down
4 changes: 0 additions & 4 deletions code/game/machinery/computer/buildandrepair.dm
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,6 @@
build_path = /obj/machinery/computer/stacking_unit
origin_tech = Tc_PROGRAMMING + "=2;" + Tc_MATERIALS + "=2"



/obj/item/weapon/circuitboard/attackby(obj/item/I as obj, mob/user as mob)
if(issolder(I))
var/obj/item/tool/solder/S = I
Expand Down Expand Up @@ -393,8 +391,6 @@
to_chat(user, "<span class='notice'>You [contraband_enabled ? "" : "un"]connect the mysterious fuse.</span>")
contraband_enabled = !contraband_enabled



/obj/structure/computerframe/attackby(obj/item/P as obj, mob/user as mob)
switch(state)
if(0)
Expand Down
7 changes: 1 addition & 6 deletions code/game/machinery/constructable_frame.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
var/list/components_in_use = null
var/build_state = 1
var/build_path = 0 //0 = Default path. 1 = Glass Frame
var/required_circuit_type = null

// For pods
var/list/connected_parts = list()
Expand Down Expand Up @@ -44,9 +43,6 @@
amt += req_components[path]
return amt

/obj/machinery/constructable_frame/machine_frame
required_circuit_type=MACHINE

/obj/machinery/constructable_frame/machine_frame/attackby(obj/item/P as obj, mob/user as mob)
if(P.crit_fail)
to_chat(user, "<span class='warning'>This part is faulty, you cannot add this to the machine!</span>")
Expand Down Expand Up @@ -129,7 +125,7 @@
if(!..())
if(istype(P, /obj/item/weapon/circuitboard))
var/obj/item/weapon/circuitboard/B = P
if(B.board_type == required_circuit_type)
if(B.board_type == MACHINE)
if(!user.drop_item(B, src, failmsg = TRUE))
return

Expand Down Expand Up @@ -1733,4 +1729,3 @@ to destroy them and players will be able to make replacements.
/obj/item/weapon/stock_parts/manipulator = 2,
/obj/item/weapon/stock_parts/matter_bin = 1,
)

5 changes: 0 additions & 5 deletions code/game/objects/items/stacks/stack_recipes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -446,11 +446,6 @@ var/list/datum/stack_recipe/plasteel_recipes = list (
new/datum/stack_recipe("shuttle bed", /obj/structure/bed/racecar/shuttle, 2, one_per_turf = 1, on_floor = 1),
new/datum/stack_recipe("fire truck bed", /obj/structure/bed/racecar/firetruck, 2, one_per_turf = 1, on_floor = 1),
)),
null,
new/datum/stack_recipe("Reinforced machine frame", /obj/machinery/constructable_frame/machine_frame/reinforced, 5, time = 60, one_per_turf = 1 ),
null,
new/datum/stack_recipe("Reactor casing frame", /obj/structure/girder/reactor, 4, time = 50, one_per_turf = 1 ),
new/datum/stack_recipe("Reactor fuel rod", /obj/item/weapon/fuelrod, 2, time = 25),
)

/* ====================================================================
Expand Down
Loading
Loading