From fe62d2bf3afab05c0aabc9af0ac04586e835a61b Mon Sep 17 00:00:00 2001 From: mikomyazaki <47489928+mikomyazaki@users.noreply.github.com> Date: Sat, 1 Aug 2020 21:52:39 +0100 Subject: [PATCH] Fixes all invalid origin_techs (#9566) --- code/modules/integrated_electronics/subtypes/insert_slot.dm | 4 ++-- code/modules/integrated_electronics/subtypes/reagents.dm | 2 +- code/modules/research/stockparts.dm | 2 +- html/changelogs/fix_origin_tech.yml | 6 ++++++ 4 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 html/changelogs/fix_origin_tech.yml diff --git a/code/modules/integrated_electronics/subtypes/insert_slot.dm b/code/modules/integrated_electronics/subtypes/insert_slot.dm index 75f1376bb20..0f29b398a4e 100644 --- a/code/modules/integrated_electronics/subtypes/insert_slot.dm +++ b/code/modules/integrated_electronics/subtypes/insert_slot.dm @@ -56,7 +56,7 @@ power_draw_per_use = 3 allowed_types = list(/obj/item/paper) spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH - origin_tech = list(TECH_ENGINEERING = 2, TECH_MATERIALS = 2) + origin_tech = list(TECH_ENGINEERING = 2, TECH_MATERIAL = 2) /obj/item/integrated_circuit/insert_slot/beaker_holder name = "beaker holder" @@ -67,4 +67,4 @@ capacity = 1 allowed_types = list(/obj/item/reagent_containers/glass/beaker) spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH - origin_tech = list(TECH_ENGINEERING = 2, TECH_BIO = 2, TECH_MATERIALS = 2) + origin_tech = list(TECH_ENGINEERING = 2, TECH_BIO = 2, TECH_MATERIAL = 2) diff --git a/code/modules/integrated_electronics/subtypes/reagents.dm b/code/modules/integrated_electronics/subtypes/reagents.dm index 680d6ffd6b4..010152bffa1 100644 --- a/code/modules/integrated_electronics/subtypes/reagents.dm +++ b/code/modules/integrated_electronics/subtypes/reagents.dm @@ -269,7 +269,7 @@ flags = OPENCONTAINER | NOREACT complexity = 8 spawn_flags = IC_SPAWN_RESEARCH - origin_tech = list(TECH_MATERIALS = 3, TECH_ENGINEERING = 2, TECH_DATA = 2, TECH_BIO = 2) + origin_tech = list(TECH_MATERIAL = 3, TECH_ENGINEERING = 2, TECH_DATA = 2, TECH_BIO = 2) /obj/item/integrated_circuit/reagent/storage/big name = "big reagent storage" diff --git a/code/modules/research/stockparts.dm b/code/modules/research/stockparts.dm index 933d444b3b1..692e25f23c9 100644 --- a/code/modules/research/stockparts.dm +++ b/code/modules/research/stockparts.dm @@ -245,7 +245,7 @@ name = "subspace wavelength analyzer" icon_state = "wavelength_analyzer" desc = "A sophisticated analyzer capable of analyzing cryptic subspace wavelengths." - origin_tech = list(TECH_DATA = 3, TECH_MAGNETS = 4, TECH_MATERIAL = 4, TECH_BLUESPACE = 2) + origin_tech = list(TECH_DATA = 3, TECH_MAGNET = 4, TECH_MATERIAL = 4, TECH_BLUESPACE = 2) matter = list(DEFAULT_WALL_MATERIAL = 30, MATERIAL_GLASS = 10) /obj/item/stock_parts/subspace/crystal diff --git a/html/changelogs/fix_origin_tech.yml b/html/changelogs/fix_origin_tech.yml new file mode 100644 index 00000000000..81d9a3f1a2f --- /dev/null +++ b/html/changelogs/fix_origin_tech.yml @@ -0,0 +1,6 @@ +author: mikomyazaki + +delete-after: True + +changes: + - bugfix: "Fixed all items with invalid origin_techs, which would cause the RnD computer to break when putting them in the Destructive Analyzer." \ No newline at end of file