diff --git a/baystation12.dme b/baystation12.dme
index 0235a3daba..4c31adaf3c 100644
--- a/baystation12.dme
+++ b/baystation12.dme
@@ -1335,7 +1335,6 @@
#include "code\WorkInProgress\Cael_Aislinn\Supermatter\SuperMatter.dm"
#include "code\WorkInProgress\Cael_Aislinn\Supermatter\ZeroPointLaser.dm"
#include "code\WorkInProgress\Chinsky\ashtray.dm"
-#include "code\WorkInProgress\Cib\MedicalSideEffects.dm"
#include "code\WorkInProgress\kilakk\fax.dm"
#include "code\WorkInProgress\Mini\ATM.dm"
#include "code\WorkInProgress\Mini\atmos_control.dm"
diff --git a/code/WorkInProgress/Cael_Aislinn/Economy/Accounts.dm b/code/WorkInProgress/Cael_Aislinn/Economy/Accounts.dm
index 7fcd57eefd..724168c8c1 100644
--- a/code/WorkInProgress/Cael_Aislinn/Economy/Accounts.dm
+++ b/code/WorkInProgress/Cael_Aislinn/Economy/Accounts.dm
@@ -14,7 +14,7 @@ var/global/list/all_money_accounts = list()
station_account = new()
station_account.owner_name = "[station_name()] Station Account"
station_account.account_number = rand(111111, 999999)
- station_account.remote_access_pin = rand(1111, 111111)
+ station_account.remote_access_pin = rand(1000, 9999)
station_account.money = 75000
//create an entry in the account transaction log for when it was created
@@ -36,7 +36,7 @@ var/global/list/all_money_accounts = list()
var/datum/money_account/department_account = new()
department_account.owner_name = "[department] Account"
department_account.account_number = rand(111111, 999999)
- department_account.remote_access_pin = rand(1111, 111111)
+ department_account.remote_access_pin = rand(1000, 9999)
department_account.money = 5000
//create an entry in the account transaction log for when it was created
@@ -62,7 +62,7 @@ var/global/list/all_money_accounts = list()
//create a new account
var/datum/money_account/M = new()
M.owner_name = new_owner_name
- M.remote_access_pin = rand(1111, 111111)
+ M.remote_access_pin = rand(1000, 9999)
M.money = starting_funds
//create an entry in the account transaction log for when it was created
@@ -161,7 +161,7 @@ var/global/list/all_money_accounts = list()
vendor_account = department_accounts["Vendor"]
if(!current_date_string)
- current_date_string = "[num2text(rand(1,31))] [pick("January","February","March","April","May","June","July","August","September","October","November","December")], 2557"
+ current_date_string = "[num2text(rand(1,31))] [pick("January","February","March","April","May","June","July","August","September","October","November","December")], [game_year]"
machine_id = "[station_name()] Acc. DB #[num_financial_terminals++]"
diff --git a/code/ZAS/FEA_gas_mixture.dm b/code/ZAS/FEA_gas_mixture.dm
index 8b7ab992c9..273d7669f1 100644
--- a/code/ZAS/FEA_gas_mixture.dm
+++ b/code/ZAS/FEA_gas_mixture.dm
@@ -367,7 +367,7 @@ What are the archived variables for?
//del(giver)
return 1
-/datum/gas_mixture/proc/remove(amount)
+/datum/gas_mixture/proc/remove(amount, var/filtered = 0)
//Purpose: Removes a certain number of moles from the air.
//Called by: ?
//Inputs: How many moles to remove.
@@ -384,7 +384,7 @@ What are the archived variables for?
removed.oxygen = QUANTIZE((oxygen/sum)*amount)
removed.nitrogen = QUANTIZE((nitrogen/sum)*amount)
removed.carbon_dioxide = QUANTIZE((carbon_dioxide/sum)*amount)
- removed.toxins = QUANTIZE((toxins/sum)*amount)
+ removed.toxins = QUANTIZE(((toxins/sum)*amount)*(1-filtered))
oxygen -= removed.oxygen/group_multiplier
nitrogen -= removed.nitrogen/group_multiplier
@@ -396,8 +396,8 @@ What are the archived variables for?
var/datum/gas/corresponding = new trace_gas.type()
removed.trace_gases += corresponding
- corresponding.moles = (trace_gas.moles/sum)*amount
- trace_gas.moles -= corresponding.moles/group_multiplier
+ corresponding.moles = ((trace_gas.moles/sum)*amount)*(1-filtered)
+ trace_gas.moles -= (corresponding.moles/group_multiplier)*(1-filtered)
removed.temperature = temperature
update_values()
diff --git a/code/ZAS/ZAS_Turfs.dm b/code/ZAS/ZAS_Turfs.dm
index 0070a19c5d..4cdc8217e8 100644
--- a/code/ZAS/ZAS_Turfs.dm
+++ b/code/ZAS/ZAS_Turfs.dm
@@ -20,21 +20,22 @@
return GM
-/turf/remove_air(amount as num)
+/turf/remove_air(amount as num, var/filtered = 0)
var/datum/gas_mixture/GM = new
- var/sum = oxygen + carbon_dioxide + nitrogen + toxins
+ var/sum = oxygen + carbon_dioxide + nitrogen + (toxins*(1-filtered))
if(sum>0)
GM.oxygen = (oxygen/sum)*amount
GM.carbon_dioxide = (carbon_dioxide/sum)*amount
GM.nitrogen = (nitrogen/sum)*amount
- GM.toxins = (toxins/sum)*amount
+ GM.toxins = ((toxins/sum)*amount)*(1-filtered)
GM.temperature = temperature
GM.update_values()
return GM
+
/turf/simulated/var/current_graphic = null
/turf/simulated/var/tmp/datum/gas_mixture/air
@@ -109,21 +110,21 @@
else
return ..()
-/turf/simulated/remove_air(amount as num)
+/turf/simulated/remove_air(amount as num, var/filtered = 0)
if(zone)
var/datum/gas_mixture/removed = null
- removed = zone.air.remove(amount)
+ removed = zone.air.remove(amount, filtered)
return removed
else if(air)
var/datum/gas_mixture/removed = null
- removed = air.remove(amount)
+ removed = air.remove(amount, filtered)
if(air.check_tile_graphic())
update_visuals(air)
return removed
else
- return ..()
+ return ..(amount, filtered)
/turf/simulated/proc/update_air_properties()
var/air_directions_archived = air_check_directions
diff --git a/code/controllers/configuration.dm b/code/controllers/configuration.dm
index 0db84249c6..79a31b23e8 100644
--- a/code/controllers/configuration.dm
+++ b/code/controllers/configuration.dm
@@ -65,8 +65,8 @@
var/server
var/banappeals
- var/wikiurl = "http://baystation12.net/wiki/index.php?title=Main_Page"
- var/forumurl = "http://baystation12.net/forums/"
+ var/wikiurl
+ var/forumurl
//Alert level description
var/alert_desc_green = "All threats to the station have passed. Security may not have weapons visible, privacy laws are once again fully enforced."
diff --git a/code/datums/supplypacks.dm b/code/datums/supplypacks.dm
index b3b03e6ac2..4f8a04a192 100755
--- a/code/datums/supplypacks.dm
+++ b/code/datums/supplypacks.dm
@@ -68,7 +68,7 @@ var/list/all_supply_groups = list("Operations","Security","Hospitality","Enginee
/datum/supply_packs/farwa
name = "Farwa crate"
- contains = list (/obj/item/weapon/storage/box/farwacubes)
+ contains = list (/obj/item/weapon/storage/box/monkeycubes/farwacubes)
cost = 30
containertype = /obj/structure/closet/crate/freezer
containername = "Farwa crate"
@@ -76,7 +76,7 @@ var/list/all_supply_groups = list("Operations","Security","Hospitality","Enginee
/datum/supply_packs/skrell
name = "Neaera crate"
- contains = list (/obj/item/weapon/storage/box/neaeracubes)
+ contains = list (/obj/item/weapon/storage/box/monkeycubes/neaeracubes)
cost = 30
containertype = /obj/structure/closet/crate/freezer
containername = "Neaera crate"
@@ -84,7 +84,7 @@ var/list/all_supply_groups = list("Operations","Security","Hospitality","Enginee
/datum/supply_packs/stok
name = "Stok crate"
- contains = list (/obj/item/weapon/storage/box/stokcubes)
+ contains = list (/obj/item/weapon/storage/box/monkeycubes/stokcubes)
cost = 30
containertype = /obj/structure/closet/crate/freezer
containername = "Stok crate"
diff --git a/code/game/machinery/Sleeper.dm b/code/game/machinery/Sleeper.dm
index a4158218a1..c1be061f53 100644
--- a/code/game/machinery/Sleeper.dm
+++ b/code/game/machinery/Sleeper.dm
@@ -133,7 +133,7 @@
var/orient = "LEFT" // "RIGHT" changes the dir suffix to "-r"
var/mob/living/occupant = null
var/available_chemicals = list("inaprovaline" = "Inaprovaline", "stoxin" = "Soporific", "dermaline" = "Dermaline", "bicaridine" = "Bicaridine", "dexalin" = "Dexalin")
- var/amounts = list(10, 20)
+ var/amounts = list(5, 10)
New()
@@ -269,11 +269,11 @@
proc/inject_chemical(mob/living/user as mob, chemical, amount)
if(src.occupant && src.occupant.reagents)
- if(src.occupant.reagents.get_reagent_amount(chemical) + amount <= 40)
+ if(src.occupant.reagents.get_reagent_amount(chemical) + amount <= 20)
src.occupant.reagents.add_reagent(chemical, amount)
user << "Occupant now has [src.occupant.reagents.get_reagent_amount(chemical)] units of [available_chemicals[chemical]] in his/her bloodstream."
return
- user << "There's no occupant in the sleeper or the subject rejects the chemicals!"
+ user << "There's no occupant in the sleeper or the subject has too many chemicals!"
return
diff --git a/code/game/machinery/alarm.dm b/code/game/machinery/alarm.dm
index ea2456cf97..300d62745c 100644
--- a/code/game/machinery/alarm.dm
+++ b/code/game/machinery/alarm.dm
@@ -181,7 +181,8 @@
if(target_temperature < T0C + MIN_TEMPERATURE)
target_temperature = T0C + MIN_TEMPERATURE
- var/datum/gas_mixture/gas = location.remove_air(0.25*environment.total_moles)
+ var/datum/gas_mixture/gas
+ gas = location.remove_air(0.25*environment.total_moles)
var/heat_capacity = gas.heat_capacity()
var/energy_used = max( abs( heat_capacity*(gas.temperature - target_temperature) ), MAX_ENERGY_CHANGE)
diff --git a/code/game/machinery/cloning.dm b/code/game/machinery/cloning.dm
index fd66d0c2c3..e643fb5e24 100644
--- a/code/game/machinery/cloning.dm
+++ b/code/game/machinery/cloning.dm
@@ -334,7 +334,7 @@
src.icon_state = "pod_0"
src.eject_wait = 0 //If it's still set somehow.
domutcheck(src.occupant) //Waiting until they're out before possible monkeyizing.
- src.occupant.add_side_effect("Bad Stomach") // Give them an extra side-effect for free.
+// src.occupant.add_side_effect("Bad Stomach") // Give them an extra side-effect for free.
src.occupant = null
src.biomass -= CLONE_BIOMASS
diff --git a/code/game/machinery/computer/medical.dm b/code/game/machinery/computer/medical.dm
index 7c3b44a4e0..c73adc1162 100644
--- a/code/game/machinery/computer/medical.dm
+++ b/code/game/machinery/computer/medical.dm
@@ -432,7 +432,7 @@
var/counter = 1
while(src.active2.fields[text("com_[]", counter)])
counter++
- src.active2.fields[text("com_[counter]")] = text("Made by [authenticated] ([rank]) on [time2text(world.realtime, "DDD MMM DD hh:mm:ss")], 2557
[t1]")
+ src.active2.fields[text("com_[counter]")] = text("Made by [authenticated] ([rank]) on [time2text(world.realtime, "DDD MMM DD hh:mm:ss")], [game_year]
[t1]")
if (href_list["del_c"])
if ((istype(src.active2, /datum/data/record) && src.active2.fields[text("com_[]", href_list["del_c"])]))
diff --git a/code/game/machinery/computer/security.dm b/code/game/machinery/computer/security.dm
index 262dcf4ab8..e56ba78f20 100644
--- a/code/game/machinery/computer/security.dm
+++ b/code/game/machinery/computer/security.dm
@@ -369,7 +369,7 @@ What a mess.*/
var/counter = 1
while(active2.fields[text("com_[]", counter)])
counter++
- active2.fields[text("com_[counter]")] = text("Made by [authenticated] ([rank]) on [time2text(world.realtime, "DDD MMM DD hh:mm:ss")], 2557
[t1]")
+ active2.fields[text("com_[counter]")] = text("Made by [authenticated] ([rank]) on [time2text(world.realtime, "DDD MMM DD hh:mm:ss")], [game_year]
[t1]")
if ("Delete Record (ALL)")
if (active1)
diff --git a/code/game/mecha/equipment/tools/tools.dm b/code/game/mecha/equipment/tools/tools.dm
index a7936f1564..fd34b65baa 100644
--- a/code/game/mecha/equipment/tools/tools.dm
+++ b/code/game/mecha/equipment/tools/tools.dm
@@ -1064,7 +1064,7 @@
/obj/item/weapon/paintkit //Please don't use this for anything, it's a base type for custom mech paintjobs.
name = "mecha customisation kit"
desc = "A generic kit containing all the needed tools and parts to turn a mech into another mech."
- icon = 'custom_items.dmi'
+ icon = 'icons/obj/custom_items.dmi'
icon_state = "royce_kit"
var/new_name = "mech" //What is the variant called?
diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm
index 96789249fd..ef85539946 100644
--- a/code/game/mecha/mecha.dm
+++ b/code/game/mecha/mecha.dm
@@ -1371,7 +1371,7 @@
/obj/mecha/proc/get_log_html()
var/output = "
It really is that easy! Good luck! - "}*/ + "} + /obj/item/weapon/book/manual/medical_cloning name = "Cloning techniques of the 26th century" icon_state ="bookCloning" author = "Medical Journal, volume 3" // Who wrote the thing, can be changed by pen or PC. It is not automatically assigned title = "Cloning techniques of the 26th century" -//big pile of shit below. - /*dat = {" + dat = {"