From d5c085e22a75594b2b8913aee13e03a326c88654 Mon Sep 17 00:00:00 2001 From: NicholasDV Date: Sun, 9 Jun 2013 03:00:47 -0400 Subject: [PATCH 01/10] Changes to increase readability Specifically formatting the messages a bit differently by putting them onto multiple lines. They line up properly inside of dream maker, making them /much/ more readable. This format would be preferable for new additions into this file. --- code/WorkInProgress/periodic_news.dm | 60 +++++++++++++++++++++++----- 1 file changed, 49 insertions(+), 11 deletions(-) diff --git a/code/WorkInProgress/periodic_news.dm b/code/WorkInProgress/periodic_news.dm index 92186869264..977603e35e0 100644 --- a/code/WorkInProgress/periodic_news.dm +++ b/code/WorkInProgress/periodic_news.dm @@ -13,70 +13,108 @@ paycuts_suspicion round_time = 60*10 - message = "Reports have leaked that Nanotrasen Inc. is planning to put paycuts into effect on many of its Research Stations in Tau Ceti. Apparently these research stations haven't been able to yield the expected revenue, and thus adjustments have to be made." + message = {"Reports have leaked that Nanotrasen Inc. is planning to put paycuts into + effect on many of its Research Stations in Tau Ceti. Apparently these research + stations haven't been able to yield the expected revenue, and thus adjustments + have to be made."} author = "Unauthorized" paycuts_confirmation round_time = 60*40 - message = "Earlier rumours about paycuts on Research Stations in the Tau Ceti system have been confirmed. Shockingly, however, the cuts will only affect lower tier personnel. Heads of Staff will, according to our sources, not be affected." + message = {"Earlier rumours about paycuts on Research Stations in the Tau Ceti system have + been confirmed. Shockingly, however, the cuts will only affect lower tier + personnel. Heads of Staff will, according to our sources, not be affected."} author = "Unauthorized" human_experiments round_time = 60*90 - message = "Unbelievable reports about human experimentation have reached our ears. According to a refugee from one of the Tau Ceti Research Stations, their station, in order to increase revenue, has refactored several of their facilities to perform experiments on live humans, including virology research, genetic manipulation, and \"feeding them to the slimes to see what happens\". Allegedly, these test subjects were neither humanified monkeys nor volunteers, but rather unqualified staff that were forced into the experiments, and reported to have died in a \"work accident\" by Nanotrasen Inc." + message = {"Unbelievable reports about human experimentation have reached our ears. According + to a refugee from one of the Tau Ceti Research Stations, their station, in order + to increase revenue, has refactored several of their facilities to perform experiments + on live humans, including virology research, genetic manipulation, and \"feeding them + to the slimes to see what happens\". Allegedly, these test subjects were neither + humanified monkeys nor volunteers, but rather unqualified staff that were forced into + the experiments, and reported to have died in a \"work accident\" by Nanotrasen Inc."} author = "Unauthorized" bluespace_research announcement round_time = 60*20 - message = "The new field of research trying to explain several interesting spacetime oddities, also known as \"Bluespace Research\", has reached new heights. Of the several hundred space stations now orbiting in Tau Ceti, fifteen are now specially equipped to experiment with and research Bluespace effects. Rumours have it some of these stations even sport functional \"travel gates\" that can instantly move a whole research team to an alternate reality." + message = {"The new field of research trying to explain several interesting spacetime oddities, + also known as \"Bluespace Research\", has reached new heights. Of the several + hundred space stations now orbiting in Tau Ceti, fifteen are now specially equipped + to experiment with and research Bluespace effects. Rumours have it some of these + stations even sport functional \"travel gates\" that can instantly move a whole research + team to an alternate reality."} random_junk + cheesy_honkers author = "Assistant Editor Carl Ritz" channel_name = "The Gibson Gazzette" - message = "Do cheesy honkers increase risk of having a miscarriage? Several health administrations say so!" + message = {"Do cheesy honkers increase risk of having a miscarriage? Several health administrations + say so!"} round_time = 60 * 15 net_block author = "Assistant Editor Carl Ritz" channel_name = "The Gibson Gazzette" - message = "Several corporations banding together to block access to 'wetskrell.nt', site administrators claiming violation of net laws." + message = {"Several corporations banding together to block access to 'wetskrell.nt', site administrators + claiming violation of net laws."} round_time = 60 * 50 found_ssd channel_name = "Tau Ceti Daily" author = "Doctor Eric Hanfield" - message = "Several people have been found unconscious at their terminals. It is thought that it was due to a lack of sleep or of simply migraines from staring at the screen too long. Camera footage reveals that many of them were playing games instead of working and their pay has been docked accordingly." + message = {"Several people have been found unconscious at their terminals. It is thought that it was due + to a lack of sleep or of simply migraines from staring at the screen too long. Camera footage + reveals that many of them were playing games instead of working and their pay has been docked + accordingly."} round_time = 60 * 90 lotus_tree + explosions channel_name = "Tau Ceti Daily" author = "Reporter Leland H. Howards" - message = "The newly-christened civillian transport Lotus Tree suffered two very large explosions near the bridge today, and there are unconfirmed reports that the death toll has passed 50. The cause of the explosions remain unknown, but there is speculation that it might have something to do with the recent change of regulation in the Moore-Lee Corporation, a major funder of the ship, when M-L announced that they were officially acknowledging inter-species marriage and providing couples with marriage tax-benefits." + message = {"The newly-christened civillian transport Lotus Tree suffered two very large explosions near the + bridge today, and there are unconfirmed reports that the death toll has passed 50. The cause of + the explosions remain unknown, but there is speculation that it might have something to do with + the recent change of regulation in the Moore-Lee Corporation, a major funder of the ship, when M-L + announced that they were officially acknowledging inter-species marriage and providing couples + with marriage tax-benefits."} round_time = 60 * 30 food_riots + breaking_news channel_name = "Tau Ceti Daily" author = "Reporter Ro'kii Ar-Raqis" - message = "Breaking news: Food riots have broken out throughout the Refuge asteroid colony in the Tenebrae Lupus system. This comes only hours after NanoTrasen officials announced they will no longer trade with the colony, citing the increased presence of \"hostile factions\" on the colony has made trade too dangerous to continue. NanoTrasen officials have not given any details about said factions. More on that at the top of the hour." + message = {"Breaking news: Food riots have broken out throughout the Refuge asteroid colony in the Tenebrae + Lupus system. This comes only hours after NanoTrasen officials announced they will no longer trade with the + colony, citing the increased presence of \"hostile factions\" on the colony has made trade too dangerous to + continue. NanoTrasen officials have not given any details about said factions. More on that at the top of + the hour."} round_time = 60 * 10 more channel_name = "Tau Ceti Daily" author = "Reporter Ro'kii Ar-Raqis" - message = "More on the Refuge food riots: The Refuge Council has condemned NanoTrasen's withdrawal from the colony, claiming \"there has been no increase in anti-NanoTrasen activity\", and \"\[the only] reason NanoTrasen withdrew was because the \[Tenebrae Lupus] system's Plasma deposits have been completely mined out. We have little to trade with them now\". NanoTrasen officials have denied these allegations, calling them \"further proof\" of the colony's anti-NanoTrasen stance. Meanwhile, Refuge Security has been unable to quell the riots. More on this at 6." + message = {"More on the Refuge food riots: The Refuge Council has condemned NanoTrasen's withdrawal from + the colony, claiming \"there has been no increase in anti-NanoTrasen activity\", and \"\[the only] reason + NanoTrasen withdrew was because the \[Tenebrae Lupus] system's Plasma deposits have been completely mined out. + We have little to trade with them now\". NanoTrasen officials have denied these allegations, calling them + \"further proof\" of the colony's anti-NanoTrasen stance. Meanwhile, Refuge Security has been unable to quell + the riots. More on this at 6."} round_time = 60 * 60 -var/global/list/newscaster_standard_feeds = list(/datum/news_announcement/bluespace_research, /datum/news_announcement/lotus_tree, /datum/news_announcement/random_junk, /datum/news_announcement/lotus_tree) +var/global/list/newscaster_standard_feeds = list(/datum/news_announcement/bluespace_research, /datum/news_announcement/lotus_tree, /datum/news_announcement/random_junk, /datum/news_announcement/food_riots) proc/process_newscaster() check_for_newscaster_updates(ticker.mode.newscaster_announcements) From f2a16fc3cdd39e73296097f3bfdca57138e8dbcf Mon Sep 17 00:00:00 2001 From: NicholasDV Date: Sun, 9 Jun 2013 03:16:51 -0400 Subject: [PATCH 02/10] This just fixes a small typo in build mode. Specifically, the throw and select buttons were 'switched' in some instructions. This quickly fixes that! closes #3001 --- code/WorkInProgress/buildmode.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/WorkInProgress/buildmode.dm b/code/WorkInProgress/buildmode.dm index 5e4a45e21ae..089522490a2 100644 --- a/code/WorkInProgress/buildmode.dm +++ b/code/WorkInProgress/buildmode.dm @@ -92,8 +92,8 @@ usr << "\blue ***********************************************************" if(4) usr << "\blue ***********************************************************" - usr << "\blue Left Mouse Button on turf/obj/mob = Throw" - usr << "\blue Right Mouse Button on turf/obj/mob = Select" + usr << "\blue Left Mouse Button on turf/obj/mob = Select" + usr << "\blue Right Mouse Button on turf/obj/mob = Throw" usr << "\blue ***********************************************************" return From fb5b853ca2e6d57e35d3fbe09bb03e8b0e8a65b0 Mon Sep 17 00:00:00 2001 From: NicholasDV Date: Sun, 9 Jun 2013 03:20:58 -0400 Subject: [PATCH 03/10] Fixes a spriting issue Specifically, the sprite for laying down with clean tajaran cut didn't have the correct icon_state name. I changed it to the correct one. --- icons/mob/human_face.dmi | Bin 38472 -> 38469 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/icons/mob/human_face.dmi b/icons/mob/human_face.dmi index 221f43ed0f03991053e1208e8608f0d823029b4c..c6bf1e373e222a1ed2ed76e8bb09c04cd161d7a4 100644 GIT binary patch delta 1027 zcmV+e1pNERtOCWX0+1tr1OIwdSad{Xb7OL8aCB*JZU6vyoSm9YZ`?QxhR>N_VYK%} zH|aH(MT#Pa_AeNeO-stqk}AobO@I9!{4t&l+Pv&70Uo}TNRj&Rd~E*t^7Z+9^Yrcc zG;=OKhUT&P{MV<`-NpCSHIL21{prrJx2`V#luDJG$L7O_(_Qa>b7>x%zfX5VrjeJw zcYt5HwB?F@{tYJYsyXtxB|vWlK}CZq8dR}E6+1w2pw5%D7pf%&K=_u2^*cvNyu!g| z0DBlF5yO;w+{e`f_A*oGU(byD*bHC~EVD;e^$iZIlTnPFjAGoK)1_CFTU&8uTX9|I z6E5t0QYc4Dif}A#I9UJ43SU7`5m^%}2r3S!;(*7run2c&JgS=k>>+S>R`!sq3G78; zuu3mi6TGAQqA2x?FN#|4FO-oC-{9ze$-QHO*Z78`wUe28q`e+#P`^F8W8 zVz5K@!NQyD!2-PzOj+Qjw!ml}{K(yer(ngE(TCU3)j-peb>W}&@s}7Z7dT2Aj&{)G z&-@Da&xJ-a;4KX~!tq~m^fs-K*65l{9zP*u^6+kAS%hKfl}7VO*)j!qnSbm&x>J#* z5#Og4`h9Iff&|2nAdwKCN}Hh&??v4yByltuUVkfza>YApiesWaPVh8;On!hL8>ZB&_9OU^x781dul1wB z@k7;GKPbM|4|>$x>Idc5`a$pKTm7IfS0j9A*y;y9`PPU$_#Nv9rAL$DwX)U^d^6kX z2Q*mf2ZX28Ba}8y4 z)qJyFd00Pj=)9Clol|^Cxqq?3=MpEaqpJ!29W_#Ag^QKP^FETO19mh5c9>}06k3VF zmgEEU1CX~iDnCQ^0zI$3wSoN<7jxB4=xC(#q@B{y2=?S6)&Xwt_toe4ZwvnNXGbyB x;$p5pCNMPrxA>)xkIk3wPtDV}=hJ_CPfB92YXF}B03ZNKL_t(|oU=Iu50dnN5}yD7 delta 1045 zcmV+w1nT?6tOCfa0+1tr1Oj?gSad{Xb7OL8aCB*JZU6vyoSmA_a@;ly#?RiT&?NUx zYv<}q$C-=|$t!3;2_or*NQR`eb)G&4{aJ0?#vgjKXMXrVf&@rV`?2}^^Oxsu&C}QC z)6BW}7@EiC(;t7H?k>Ksu6b-8?oW4)y>)f@r&OxkJT@ObobGympG))D{B^n;GL5|a zy#xHpr7c(N({C_&SIv>nEdhEf2r3#>(V&VQs@MUF19hIHy-+PN0K&ICtlv3G;uQ`y z1K7hbi5RBb<36q?u$P%a|9WQJ$7TR~V3|F#t8Z{vos44aWEA7>oNjqFYild6Y%8wo ze8PpDPYUH|NfC~J1qbsV+2Jb)Dk6Jg1wq9DRUGh`78c>|j7N1dfIS56&dM5cHG#cI z3|8soYJyjEUlgf+@kNpA{e?2J!Z$d2UUKi4;61+KXzpaD9x1O!8q}U828&8BFsS^( zp)gWTjx@ZQu=*_zj=h|H&@AZAgZhqSFoXww=Ry7RR49;>p8*knD{X@BwA&aSw1a+7 zuPO<0_P@2!Rh#)yir_>{pEa%K3ts|e?5y-b&UZ;=b{w)vd+bF%( z$H7MLM-i)&EdvXG|KUk7rK8dNo|tlJlMwXL;Q*s$OBi~;|9AMeU4SEN@osLR!BLOV z(FMMHtTb9#ggkr=T41yY@12@|cGLMt)Yl6-)E0P@yGi?zWN;hX~AFq>?o#MT+H?R1cv5Ui~scTvHAS%sd@VPeEJErL`rG51pXla P03ZNKL_t)uGz1Zn*Ow5( From adde619a06b705fe8b9f4b0c688cfb83a2084e33 Mon Sep 17 00:00:00 2001 From: NicholasDV Date: Sun, 9 Jun 2013 03:40:27 -0400 Subject: [PATCH 04/10] Fixes an issue in grammar! Specifically, the way that it was coded made it so that the word the would appear twice. There... really wasn't a way to fix that in a way that would effect a lot more things, that I could find. As a result, I simply reworded it so that it can work with or without the word, 'the'. closes #2771 --- code/game/mecha/mech_fabricator.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/mecha/mech_fabricator.dm b/code/game/mecha/mech_fabricator.dm index 58824777d17..56c9f74f49f 100644 --- a/code/game/mecha/mech_fabricator.dm +++ b/code/game/mecha/mech_fabricator.dm @@ -368,7 +368,7 @@ src.desc = initial(src.desc) if(being_built) src.being_built.Move(get_step(src,SOUTH)) - src.visible_message("\icon[src] [src] beeps, \"The [src.being_built] is complete\".") + src.visible_message("\icon[src] [src] beeps, \"The following has been completed: [src.being_built] is built\".") src.being_built = null src.updateUsrDialog() return 1 From f304df5b05522d9925e20612b0cd6af94ccf9e6d Mon Sep 17 00:00:00 2001 From: NicholasDV Date: Sun, 9 Jun 2013 04:47:10 -0400 Subject: [PATCH 05/10] Added the ability to give traitors all objectives. Specifically, admins were unable to give players, traitors, that is, the objective to brig/maim someone. This gives them the ability view the traitor panel. --- code/datums/mind.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/mind.dm b/code/datums/mind.dm index c472c22b581..175e622788a 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -370,13 +370,13 @@ datum/mind if(!def_value)//If it's a custom objective, it will be an empty string. def_value = "custom" - var/new_obj_type = input("Select objective type:", "Objective type", def_value) as null|anything in list("assassinate", "debrain", "protect", "prevent", "hijack", "escape", "survive", "steal", "download", "nuclear", "capture", "absorb", "custom") + var/new_obj_type = input("Select objective type:", "Objective type", def_value) as null|anything in list("assassinate", "debrain", "protect", "prevent", "harm", "brig", "hijack", "escape", "survive", "steal", "download", "nuclear", "capture", "absorb", "custom") if (!new_obj_type) return var/datum/objective/new_objective = null switch (new_obj_type) - if ("assassinate","protect","debrain") + if ("assassinate","protect","debrain", "harm", "brig") //To determine what to name the objective in explanation text. var/objective_type_capital = uppertext(copytext(new_obj_type, 1,2))//Capitalize first letter. var/objective_type_text = copytext(new_obj_type, 2)//Leave the rest of the text. From b835ab4bd2bd814c38405e0a2fa7829cd46fc6d3 Mon Sep 17 00:00:00 2001 From: MisterBook Date: Sun, 9 Jun 2013 14:10:11 -0500 Subject: [PATCH 06/10] Fix of breacher chasis to keep anyone but Ughanti from wearing it. Fix of gun suicide - lethal is lethal, nonlethal just hurts like a mother. Despamming electrode resistance. --- code/modules/clothing/spacesuits/alien.dm | 14 ++++++++++++++ .../mob/living/carbon/human/human_defense.dm | 1 - code/modules/projectiles/gun.dm | 8 +++++--- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/code/modules/clothing/spacesuits/alien.dm b/code/modules/clothing/spacesuits/alien.dm index 45e753c9acc..1d08c8c571d 100644 --- a/code/modules/clothing/spacesuits/alien.dm +++ b/code/modules/clothing/spacesuits/alien.dm @@ -1,6 +1,20 @@ /obj/item/clothing/head/helmet/space/unathi var/up = 0 //So Unathi helmets play nicely with the weldervision check. + mob_can_equip(M as mob, slot) + var/mob/living/carbon/human/U = M + if(U.dna.mutantrace != "lizard") + U << "This clearly isn't designed for your species!" + return 0 + return ..() + +/obj/item/clothing/suit/space/unathi/mob_can_equip(M as mob, slot) + var/mob/living/carbon/human/U = M + if(U.dna.mutantrace != "lizard") + U << "This clearly isn't designed for your species!" + return 0 + + return ..() /obj/item/clothing/head/helmet/space/unathi/helmet_cheap name = "NT breacher helmet" diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm index 79be30e4c40..3ad4a6adb54 100644 --- a/code/modules/mob/living/carbon/human/human_defense.dm +++ b/code/modules/mob/living/carbon/human/human_defense.dm @@ -22,7 +22,6 @@ emp_act var/obj/item/clothing/C = bp // Then call an argument C to be that clothing! if(C.body_parts_covered & select_area.body_part) // Is that body part being targeted covered? P.agony=P.agony*C.siemens_coefficient - visible_message("\red [src]'s [C.name] absorbs some of the shock from the [P.name]!") apply_effect(P.agony,AGONY,0) del P /* Commenting out new-old taser nerf. diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm index 7948a457c9a..41c84823a62 100644 --- a/code/modules/projectiles/gun.dm +++ b/code/modules/projectiles/gun.dm @@ -167,16 +167,18 @@ mouthshoot = 0 return if (load_into_chamber()) - user.visible_message("[user] pulls the trigger. Ow.") + user.visible_message("[user] pulls the trigger.") if(silenced) playsound(user, fire_sound, 10, 1) else playsound(user, fire_sound, 50, 1) in_chamber.on_hit(M) if (!in_chamber.nodamage) - user.apply_damage(in_chamber.damage*100, in_chamber.damage_type, "head", used_weapon = "Point blank shot in the mouth with \a [in_chamber]") + user.apply_damage(in_chamber.damage*2.5, in_chamber.damage_type, "head", used_weapon = "Point blank shot in the mouth with \a [in_chamber]") + user.death() else - user << "You feel dumb for trying this..." + user << "Ow..." + user.apply_effect(110,AGONY,0) del(in_chamber) mouthshoot = 0 return From eb014af61828abc1dd8e496882307c04dc53d6d1 Mon Sep 17 00:00:00 2001 From: MisterBook Date: Sun, 9 Jun 2013 14:11:58 -0500 Subject: [PATCH 07/10] Updates --- baystation12.dme | 1 - 1 file changed, 1 deletion(-) diff --git a/baystation12.dme b/baystation12.dme index 375cf098a5d..828007b0de8 100644 --- a/baystation12.dme +++ b/baystation12.dme @@ -1298,7 +1298,6 @@ #include "code\WorkInProgress\Cael_Aislinn\Supermatter\ZeroPointLaser.dm" #include "code\WorkInProgress\Chinsky\ashtray.dm" #include "code\WorkInProgress\Cib\MedicalSideEffects.dm" -#include "code\WorkInProgress\kilakk\responseteam.dm" #include "code\WorkInProgress\Mini\ATM.dm" #include "code\WorkInProgress\Mini\atmos_control.dm" #include "code\WorkInProgress\Ported\policetape.dm" From b51bc5e32219c3f200de939c599bd50dbc7d7cfc Mon Sep 17 00:00:00 2001 From: MisterBook Date: Sun, 9 Jun 2013 14:26:34 -0500 Subject: [PATCH 08/10] Response Team still isn't ticked on. Dunno if it's ready. Re-re-uncommented. --- code/modules/admin/admin_verbs.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index c8ff992b155..c36a0ab99d2 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -67,7 +67,7 @@ var/list/admin_verbs_admin = list( /client/proc/toggledebuglogs, /datum/admins/proc/show_skills, /client/proc/check_customitem_activity, - /client/proc/response_team + ///client/proc/response_team ) var/list/admin_verbs_ban = list( /client/proc/unban_panel, From af234f7f1de28e4419040f95152fa103550bcb78 Mon Sep 17 00:00:00 2001 From: NicholasDV Date: Sun, 9 Jun 2013 18:04:27 -0400 Subject: [PATCH 09/10] Removes a few typos from channel names The literal only two instance of gazette in the code. This should fix it entirely. fixes #3006 --- code/WorkInProgress/periodic_news.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/WorkInProgress/periodic_news.dm b/code/WorkInProgress/periodic_news.dm index 977603e35e0..8b8be52e2d5 100644 --- a/code/WorkInProgress/periodic_news.dm +++ b/code/WorkInProgress/periodic_news.dm @@ -52,14 +52,14 @@ cheesy_honkers author = "Assistant Editor Carl Ritz" - channel_name = "The Gibson Gazzette" + channel_name = "The Gibson Gazette" message = {"Do cheesy honkers increase risk of having a miscarriage? Several health administrations say so!"} round_time = 60 * 15 net_block author = "Assistant Editor Carl Ritz" - channel_name = "The Gibson Gazzette" + channel_name = "The Gibson Gazette" message = {"Several corporations banding together to block access to 'wetskrell.nt', site administrators claiming violation of net laws."} round_time = 60 * 50 From 0b20496f7df852f0c34e7697e7a32ea8e35dbc0a Mon Sep 17 00:00:00 2001 From: NicholasDV Date: Mon, 10 Jun 2013 00:12:28 -0400 Subject: [PATCH 10/10] Adds Uranium Capability to Circuit Imprinters Well, looking over the RUST circuits... They required uranium which we didn't even have implemented in the code to work with circuit imprinters. I considered simply changing them to use a different resource, but it honestly makes more sense to improve the current code to have it more versatile-- To this end, I've made circuit imprinters capable of using uranium. As a further note... closes #2757 --- code/modules/research/circuitprinter.dm | 11 +++++++++-- code/modules/research/rdconsole.dm | 14 ++++++++++++++ code/modules/research/research.dm | 2 +- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/code/modules/research/circuitprinter.dm b/code/modules/research/circuitprinter.dm index f6175335165..ccc6f932d48 100644 --- a/code/modules/research/circuitprinter.dm +++ b/code/modules/research/circuitprinter.dm @@ -12,6 +12,7 @@ using metal and glass, it uses glass and reagents (usually sulfuric acis). var/g_amount = 0 var/gold_amount = 0 var/diamond_amount = 0 + var/uranium_amount = 0 var/max_material_amount = 75000.0 New() @@ -46,7 +47,7 @@ using metal and glass, it uses glass and reagents (usually sulfuric acis). return proc/TotalMaterials() - return g_amount + gold_amount + diamond_amount + return g_amount + gold_amount + diamond_amount + uranium_amount attackby(var/obj/item/O as obj, var/mob/user as mob) if (shocked) @@ -85,19 +86,23 @@ using metal and glass, it uses glass and reagents (usually sulfuric acis). if(diamond_amount >= 2000) var/obj/item/stack/sheet/mineral/diamond/G = new /obj/item/stack/sheet/mineral/diamond(src.loc) G.amount = round(diamond_amount / 2000) + if(uranium_amount >= 2000) + var/obj/item/stack/sheet/mineral/uranium/G = new /obj/item/stack/sheet/mineral/uranium(src.loc) + G.amount = round(uranium_amount / 2000) del(src) return 1 else user << "\red You can't load the [src.name] while it's opened." return 1 if (disabled) + user << "\The [name] appears to not be working!" return if (!linked_console) user << "\The [name] must be linked to an R&D console first!" return 1 if (O.is_open_container()) return 1 - if (!istype(O, /obj/item/stack/sheet/glass) && !istype(O, /obj/item/stack/sheet/mineral/gold) && !istype(O, /obj/item/stack/sheet/mineral/diamond)) + if (!istype(O, /obj/item/stack/sheet/glass) && !istype(O, /obj/item/stack/sheet/mineral/gold) && !istype(O, /obj/item/stack/sheet/mineral/diamond) && !istype(O, /obj/item/stack/sheet/mineral/uranium)) user << "\red You cannot insert this item into the [name]!" return 1 if (stat) @@ -128,6 +133,8 @@ using metal and glass, it uses glass and reagents (usually sulfuric acis). gold_amount += amount * 2000 else if(istype(stack, /obj/item/stack/sheet/mineral/diamond)) diamond_amount += amount * 2000 + else if(istype(stack, /obj/item/stack/sheet/mineral/uranium)) + uranium_amount += amount * 2000 stack.use(amount) busy = 0 src.updateUsrDialog() diff --git a/code/modules/research/rdconsole.dm b/code/modules/research/rdconsole.dm index ab4d78570ba..5b50efc41c5 100644 --- a/code/modules/research/rdconsole.dm +++ b/code/modules/research/rdconsole.dm @@ -429,6 +429,8 @@ won't update every console in existence) but it's more of a hassle to do. Also, linked_imprinter.gold_amount = max(0, (linked_imprinter.gold_amount-being_built.materials[M])) if("$diamond") linked_imprinter.diamond_amount = max(0, (linked_imprinter.diamond_amount-being_built.materials[M])) + if("$uranium") + linked_imprinter.uranium_amount = max(0, (linked_imprinter.uranium_amount-being_built.materials[M])) else linked_imprinter.reagents.remove_reagent(M, being_built.materials[M]) var/obj/new_item = new being_built.build_path(src) @@ -500,6 +502,9 @@ won't update every console in existence) but it's more of a hassle to do. Also, if("diamond") type = /obj/item/stack/sheet/mineral/diamond res_amount = "diamond_amount" + if("uranium") + type = /obj/item/stack/sheet/mineral/uranium + res_amount = "uranium_amount" if(ispath(type) && hasvar(linked_imprinter, res_amount)) var/obj/item/stack/sheet/sheet = new type(linked_imprinter.loc) var/available_num_sheets = round(linked_imprinter.vars[res_amount]/sheet.perunit) @@ -851,6 +856,8 @@ won't update every console in existence) but it's more of a hassle to do. Also, if(D.materials[M] > linked_imprinter.gold_amount) check_materials = 0 if("$diamond") if(D.materials[M] > linked_imprinter.diamond_amount) check_materials = 0 + if("$uranium") + if(D.materials[M] > linked_imprinter.uranium_amount) check_materials = 0 else if (!linked_imprinter.reagents.has_reagent(M, D.materials[M])) check_materials = 0 if (check_materials) @@ -891,6 +898,13 @@ won't update every console in existence) but it's more of a hassle to do. Also, if(linked_imprinter.diamond_amount >= 2000) dat += "(1 Sheet) " if(linked_imprinter.diamond_amount >= 10000) dat += "(5 Sheets) " if(linked_imprinter.diamond_amount >= 2000) dat += "(Max Sheets)" + dat += "
" + //Uranium + dat += "* [linked_imprinter.uranium_amount] cm3 of Uranium || " + dat += "Eject: " + if(linked_imprinter.uranium_amount >= 2000) dat += "(1 Sheet) " + if(linked_imprinter.uranium_amount >= 10000) dat += "(5 Sheets) " + if(linked_imprinter.uranium_amount >= 2000) dat += "(Max Sheets)" user << browse("Research and Development Console
[dat]", "window=rdconsole;size=575x400") onclose(user, "rdconsole") diff --git a/code/modules/research/research.dm b/code/modules/research/research.dm index 137d0ed8565..40b534bf0eb 100644 --- a/code/modules/research/research.dm +++ b/code/modules/research/research.dm @@ -225,7 +225,7 @@ datum/tech/programming datum/tech/syndicate name = "Illegal Technologies Research" - desc = "The study of technologies that violate Nanotrassen regulations." + desc = "The study of technologies that violate standard Nanotrasen regulations." id = "syndicate" /*