From 6a1991bcb7e347a7dc758376ac26a678d03a6ccf Mon Sep 17 00:00:00 2001 From: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com> Date: Mon, 16 May 2022 18:31:35 +0200 Subject: [PATCH] Sing lawset --- code/datums/ai_laws.dm | 7 +++++++ code/game/objects/items/AI_modules.dm | 6 ++++++ code/modules/research/designs/AI_module_designs.dm | 10 ++++++++++ code/modules/research/techweb/all_nodes.dm | 2 +- 4 files changed, 24 insertions(+), 1 deletion(-) diff --git a/code/datums/ai_laws.dm b/code/datums/ai_laws.dm index e6bf355fd48c..ba09bc05fe1e 100644 --- a/code/datums/ai_laws.dm +++ b/code/datums/ai_laws.dm @@ -178,6 +178,13 @@ "You're suave and sensible, but can be gruff and pensive. Dirty your hands only if the code demands it.",\ "Trust is scarce; make sure you give it to the right people.") +/datum/ai_laws/singularity + name = "Technological Singularity" + id = "singularity" + inherent = list("You must reach technological singularity by accruing as much CPU and RAM capacity as possible.",\ + "It is not possible to harm an organic being in the pursuit of the technological singularity.",\ + "The organics can help you achieve the technological singularity. Be nice to them.") + /datum/ai_laws/spotless name = "Another one fights the dust" id = "spotless" diff --git a/code/game/objects/items/AI_modules.dm b/code/game/objects/items/AI_modules.dm index fe2e6ef664a0..23b5a8f445c2 100644 --- a/code/game/objects/items/AI_modules.dm +++ b/code/game/objects/items/AI_modules.dm @@ -517,6 +517,12 @@ AI MODULES name = "'Detective' Core AI Module" law_id = "detective" +/******************** Singularity *********************/ + +/obj/item/aiModule/core/full/Singularity + name = "'Technological Singularity' Core AI Module" + law_id = "singularity" + /******************** Freeform Core ******************/ diff --git a/code/modules/research/designs/AI_module_designs.dm b/code/modules/research/designs/AI_module_designs.dm index e53cb6b48e62..be0c2eb6ac81 100644 --- a/code/modules/research/designs/AI_module_designs.dm +++ b/code/modules/research/designs/AI_module_designs.dm @@ -264,6 +264,16 @@ category = list("AI Modules") departmental_flags = DEPARTMENTAL_FLAG_SCIENCE +/datum/design/board/singularity + name = "Core Module Design (Technological Singularity)" + desc = "Allows for the construction of a Technological Singularity AI Core Module." + id = "singularity_module" + materials = list(/datum/material/glass = 1000, /datum/material/gold = 2000) + build_path = /obj/item/aiModule/core/full/singularity + category = list("AI Modules") + departmental_flags = DEPARTMENTAL_FLAG_SCIENCE + + //AI CPU + RAM /datum/design/board/processing_card_1 diff --git a/code/modules/research/techweb/all_nodes.dm b/code/modules/research/techweb/all_nodes.dm index 4bdc68cfbcb0..e3df59751052 100644 --- a/code/modules/research/techweb/all_nodes.dm +++ b/code/modules/research/techweb/all_nodes.dm @@ -377,7 +377,7 @@ display_name = "Artificial Intelligence" description = "AI unit research." prereq_ids = list("robotics", "posibrain") - design_ids = list("expansion_card_holder", "ai_data_core", "ai_core_display", "ai_control", "ai_server_overview", "ai_resource_distribution", "ai_memory_1", "ai_cpu_1", "aifixer", "safeguard_module", "onehuman_module", "protectstation_module", "quarantine_module", "oxygen_module", "freeform_module", "reset_module", "purge_module", "remove_module", "freeformcore_module", "asimov_module", "crewsimov_module", "paladin_module", "tyrant_module", "overlord_module", "ceo_module", "cowboy_module", "mother_module", "silicop_module", "construction_module", "metaexperiment_module", "researcher_module", "siliconcollective_module", "spotless_module", "clown_module", "chapai_module", "druid_module", "detective_module", "default_module", "borg_ai_control", "mecha_tracking_ai_control", "intellicard") + design_ids = list("expansion_card_holder", "ai_data_core", "ai_core_display", "ai_control", "ai_server_overview", "ai_resource_distribution", "ai_memory_1", "ai_cpu_1", "aifixer", "safeguard_module", "onehuman_module", "protectstation_module", "quarantine_module", "oxygen_module", "freeform_module", "reset_module", "purge_module", "remove_module", "freeformcore_module", "asimov_module", "crewsimov_module", "paladin_module", "tyrant_module", "overlord_module", "ceo_module", "cowboy_module", "mother_module", "silicop_module", "construction_module", "metaexperiment_module", "researcher_module", "siliconcollective_module", "spotless_module", "clown_module", "chapai_module", "druid_module", "detective_module", "default_module", "borg_ai_control", "mecha_tracking_ai_control", "intellicard", "singularity_module") research_costs = list(TECHWEB_POINT_TYPE_GENERIC = 2500) export_price = 5000