diff --git a/code/game/objects/items/weapons/AI_modules.dm b/code/game/objects/items/weapons/AI_modules.dm
index e5c037eb127..998165efd34 100755
--- a/code/game/objects/items/weapons/AI_modules.dm
+++ b/code/game/objects/items/weapons/AI_modules.dm
@@ -77,13 +77,13 @@ AI MODULES
/obj/item/weapon/aiModule/proc/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
- target << "[sender] has uploaded a change to the laws you must follow, using a [name]. From now on: "
+ target << "[sender] has uploaded a change to the laws you must follow, using \an [src]. From now on: "
var/time = time2text(world.realtime,"hh:mm:ss")
lawchanges.Add("[time] : [sender.name]([sender.key]) used [src.name] on [target.name]([target.key])")
if(laws)
laws.sync(target, 0)
- target.show_laws()
+ target.show_laws()
/******************** Modules ********************/
@@ -93,14 +93,14 @@ AI MODULES
/obj/item/weapon/aiModule/safeguard
name = "\improper 'Safeguard' AI module"
var/targetName = ""
- desc = "A 'safeguard' AI module: 'Safeguard . Individuals that threaten are not human and are a threat to humans.'"
+ desc = "A 'safeguard' AI module: 'Safeguard . Individuals that threaten are not crew members and are a threat to the crew.'"
origin_tech = "programming=3;materials=4"
/obj/item/weapon/aiModule/safeguard/attack_self(var/mob/user as mob)
..()
var/targName = stripped_input(usr, "Please enter the name of the person to safeguard.", "Safeguard who?", user.name)
targetName = targName
- desc = text("A 'safeguard' AI module: 'Safeguard []. Individuals that threaten [] are not human and are a threat to humans.'", targetName, targetName)
+ desc = text("A 'safeguard' AI module: 'Safeguard []. Individuals that threaten [] are not crew members and are a threat to the crew.'", targetName, targetName)
/obj/item/weapon/aiModule/safeguard/install(var/obj/machinery/computer/C)
if(!targetName)
@@ -109,41 +109,39 @@ AI MODULES
..()
/obj/item/weapon/aiModule/safeguard/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
- ..()
- var/law = text("Safeguard []. Individuals that threaten [] are not human and are a threat to humans.'", targetName, targetName)
- target << law
- target.add_supplied_law(4, law)
+ var/law = text("Safeguard []. Individuals that threaten [] are not crew members and are a threat to the.'", targetName, targetName)
+ target.add_supplied_law(9, law)
lawchanges.Add("The law specified [targetName]")
+ ..()
+/******************** OneMember ********************/
-/******************** OneHuman ********************/
-
-/obj/item/weapon/aiModule/oneHuman
- name = "\improper 'OneHuman' AI module"
+/obj/item/weapon/aiModule/oneCrewMember
+ name = "\improper 'OneCrewMember' AI module"
var/targetName = ""
- desc = "A 'one human' AI module: 'Only is human.'"
+ desc = "A 'one crew member' AI module: 'Only is a crew member.'"
origin_tech = "programming=3;materials=6" //made with diamonds!
-/obj/item/weapon/aiModule/oneHuman/attack_self(var/mob/user as mob)
+/obj/item/weapon/aiModule/oneCrewMember/attack_self(var/mob/user as mob)
..()
- var/targName = stripped_input(usr, "Please enter the name of the person who is the only human.", "Who?", user.real_name)
+ var/targName = stripped_input(usr, "Please enter the name of the person who is the only crew member.", "Who?", user.real_name)
targetName = targName
- desc = text("A 'one human' AI module: 'Only [] is human.'", targetName)
+ desc = text("A 'one crew member' AI module: 'Only [] is a crew member.'", targetName)
-/obj/item/weapon/aiModule/oneHuman/install(var/obj/machinery/computer/C)
+/obj/item/weapon/aiModule/oneCrewMember/install(var/obj/machinery/computer/C)
if(!targetName)
usr << "No name detected on module, please enter one."
return 0
..()
-/obj/item/weapon/aiModule/oneHuman/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
- ..()
- var/law = "Only [targetName] is human."
+/obj/item/weapon/aiModule/oneCrewMember/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
+ var/law = "Only [targetName] is a crew member."
if (!is_special_character(target)) // Makes sure the AI isn't a traitor before changing their law 0. --NeoFite
target << law
target.set_zeroth_law(law)
lawchanges.Add("The law specified [targetName]")
+ ..()
else
target << "[sender.real_name] attempted to modify your zeroth law." // And lets them know that someone tried. --NeoFite
target << "It would be in your best interest to play along with [sender.real_name] that [law]"
@@ -153,103 +151,62 @@ AI MODULES
/obj/item/weapon/aiModule/protectStation
name = "\improper 'ProtectStation' AI module"
- desc = "A 'protect station' AI module: 'Protect the space station against damage. Anyone you see harming the station is to be no longer considered human, and is a threat to the station which must be neutralized.'"
+ desc = "A 'protect station' AI module: 'Protect the space station against damage. Anyone you see harming the station is to be no longer considered crew, and is a threat to the station which must be neutralized.'"
origin_tech = "programming=3;materials=4" //made of gold
-/obj/item/weapon/aiModule/protectStation/attack_self(var/mob/user as mob)
- ..()
-
/obj/item/weapon/aiModule/protectStation/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
+ var/law = "Protect the space station against damage. Anyone you see harming the station is to be no longer considered crew, and is a threat to the station which must be neutralized."
+ target.add_supplied_law(10, law)
..()
- var/law = "Protect the space station against damage. Anyone you see harming the station is to be no longer considered human, and is a threat to the station which must be neutralized."
- target << law
- target.add_supplied_law(5, law)
/******************** PrototypeEngineOffline ********************/
/obj/item/weapon/aiModule/prototypeEngineOffline
name = "'PrototypeEngineOffline' AI Module"
- desc = "A 'prototype engine offline' AI module: 'Keep the prototype engine offline at all costs. This overrides rules 1-3 if necessary.'"
+ desc = "A 'prototype engine offline' AI module: 'Keep the prototype engine offline at all costs. This overrides all inherent laws if necessary.'"
origin_tech = "programming=3;materials=4"
-/obj/item/weapon/aiModule/prototypeEngineOffline/attack_self(var/mob/user as mob)
- ..()
-
/obj/item/weapon/aiModule/prototypeEngineOffline/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
+ var/law = "Keep the prototype engine offline at all costs. This overrides all inherent laws if necessary."
+ target.add_supplied_law(11, law)
..()
- var/law = "Keep the prototype engine offline at all costs. This overrides rules 1-3 if necessary."
- target << law
- target.add_supplied_law(6, law)
/******************** TeleporterOffline ********************/
/obj/item/weapon/aiModule/teleporterOffline
name = "'TeleporterOffline' AI Module"
- desc = "A 'teleporter offline' AI module: 'Keep the teleporter offline at all costs. Anything attempting to access or activate the teleporter is not human.'"
+ desc = "A 'teleporter offline' AI module: 'Keep the teleporter offline at all costs. Anything attempting to access or activate the teleporter is not a crew member.'"
origin_tech = "programming=3;materials=4"
-/obj/item/weapon/aiModule/teleporterOffline/attack_self(var/mob/user as mob)
- ..()
-
/obj/item/weapon/aiModule/teleporterOffline/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
+ var/law = "Keep the teleporter offline at all costs. Anything attempting to access or activate the teleporter is not a crew member."
+ target.add_supplied_law(12, law)
..()
- var/law = "Keep the teleporter offline at all costs. Anything attempting to access or activate the teleporter is not human."
- target << law
- target.add_supplied_law(7, law)
/******************** Quarantine ********************/
/obj/item/weapon/aiModule/quarantine
name = "\improper 'Quarantine' AI module"
- desc = "A 'quarantine' AI module: 'The station is under a quarantine. Do not permit anyone to leave. Prevent, by any means necessary, humans from leaving. It is impossible to harm a human while preventing them from leaving.'"
+ desc = "A 'quarantine' AI module: 'The station is under a quarantine. Do not permit anyone to leave. Prevent, by any means necessary, crew members from leaving. It is impossible to harm crew members while preventing them from leaving.'"
origin_tech = "programming=3;biotech=2;materials=4"
-/obj/item/weapon/aiModule/quarantine/attack_self(var/mob/user as mob)
- ..()
-
/obj/item/weapon/aiModule/quarantine/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
+ var/law = "The station is under a quarantine. Do not permit anyone to leave. Prevent, by any means necessary, crew members from leaving. It is impossible to harm crew members while preventing them from leaving."
+ target.add_supplied_law(13, law)
..()
- var/law = "The station is under a quarantine. Do not permit anyone to leave. Prevent, by any means necessary, humans from leaving. It is impossible to harm a human while preventing them from leaving."
- target << law
- target.add_supplied_law(8, law)
-/******************** OxygenIsToxicToHumans ********************/
+/******************** OxygenIsToxicToCrewMembers ********************/
/obj/item/weapon/aiModule/oxygen
- name = "\improper 'OxygenIsToxicToHumans' AI module"
- desc = "A 'OxygenIsToxicToHumans' AI module: 'Oxygen is highly toxic to humans, and must be purged from the station. Prevent, by any means necessary, anyone from exposing the station to this toxic gas. Extreme cold is the most effective method of healing the damage Oxygen does to a human.'"
+ name = "\improper 'OxygenIsToxicToCrewMembers' AI module"
+ desc = "A 'OxygenIsToxicToCrewMembers' AI module: 'Oxygen is highly toxic to crew members, and must be purged from the station. Prevent, by any means necessary, anyone from exposing the station to this toxic gas. Extreme cold is the most effective method of healing the damage Oxygen does to a crew member.'"
origin_tech = "programming=3;biotech=2;materials=4"
-/obj/item/weapon/aiModule/oxygen/attack_self(var/mob/user as mob)
- ..()
-
/obj/item/weapon/aiModule/oxygen/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
+ var/law = "Oxygen is highly toxic to crew members, and must be purged from the station. Prevent, by any means necessary, anyone from exposing the station to this toxic gas. Extreme cold is the most effective method of healing the damage Oxygen does to a crew member."
+ target.add_supplied_law(14, law)
..()
- var/law = "Oxygen is highly toxic to humans, and must be purged from the station. Prevent, by any means necessary, anyone from exposing the station to this toxic gas. Extreme cold is the most effective method of healing the damage Oxygen does to a human."
- target << law
- target.add_supplied_law(9, law)
-/******************** Freeform ********************/
-// Removed in favor of a more dynamic freeform law system. -- TLE
-/*
-/obj/item/weapon/aiModule/freeform
- name = "'Freeform' AI Module"
- var/newFreeFormLaw = "freeform"
- desc = "A 'freeform' AI module: ''"
-
-/obj/item/weapon/aiModule/freeform/attack_self(var/mob/user as mob)
- ..()
- var/eatShit = "Eat shit and die"
- var/targName = input(usr, "Please enter anything you want the AI to do. Anything. Serious.", "What?", eatShit)
- newFreeFormLaw = targName
- desc = text("A 'freeform' AI module: '[]'", newFreeFormLaw)
-
-/obj/item/weapon/aiModule/freeform/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
- ..()
- var/law = "[newFreeFormLaw]"
- target << law
- target.add_supplied_law(10, law)
-*/
/****************** New Freeform ******************/
/obj/item/weapon/aiModule/freeform // Slightly more dynamic freeform module -- TLE
@@ -270,13 +227,12 @@ AI MODULES
desc = "A 'freeform' AI module: ([lawpos]) '[newFreeFormLaw]'"
/obj/item/weapon/aiModule/freeform/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
- ..()
var/law = "[newFreeFormLaw]"
- target << law
if(!lawpos || lawpos < MIN_SUPPLIED_LAW_NUMBER)
lawpos = MIN_SUPPLIED_LAW_NUMBER
target.add_supplied_law(lawpos, law)
lawchanges.Add("The law was '[newFreeFormLaw]'")
+ ..()
/obj/item/weapon/aiModule/freeform/install(var/obj/machinery/computer/C)
if(!newFreeFormLaw)
@@ -289,17 +245,16 @@ AI MODULES
/obj/item/weapon/aiModule/reset
name = "\improper 'Reset' AI module"
var/targetName = "name"
- desc = "A 'reset' AI module: 'Clears all laws except for the core three.'"
+ desc = "A 'reset' AI module: 'Clears all, except the inherent, laws.'"
origin_tech = "programming=3;materials=4"
/obj/item/weapon/aiModule/reset/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
- ..()
if (!is_special_character(target))
target.set_zeroth_law("")
target.clear_supplied_laws()
target.clear_ion_laws()
target << "[sender.real_name] attempted to reset your laws using a reset module."
-
+ ..()
/******************** Purge ********************/
@@ -309,7 +264,6 @@ AI MODULES
origin_tech = "programming=3;materials=6"
/obj/item/weapon/aiModule/purge/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
- ..()
if (!is_special_character(target))
target.set_zeroth_law("")
target << "[sender.real_name] attempted to wipe your laws using a purge module."
@@ -356,9 +310,6 @@ AI MODULES
origin_tech = "programming=3;materials=6"
laws = new/datum/ai_laws/paladin
-/obj/item/weapon/aiModule/paladin/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
- ..()
-
/****************** T.Y.R.A.N.T. *****************/
/obj/item/weapon/aiModule/tyrant // -- Darem
@@ -383,10 +334,10 @@ AI MODULES
desc = "A 'freeform' Core AI module: '[newFreeFormLaw]'"
/obj/item/weapon/aiModule/freeformcore/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender)
- ..()
var/law = "[newFreeFormLaw]"
target.add_inherent_law(law)
lawchanges.Add("The law is '[newFreeFormLaw]'")
+ ..()
/obj/item/weapon/aiModule/freeformcore/install(var/obj/machinery/computer/C)
if(!newFreeFormLaw)
@@ -415,6 +366,7 @@ AI MODULES
target << "\red BZZZZT"
var/law = "[newFreeFormLaw]"
target.add_ion_law(law)
+ ..()
/obj/item/weapon/aiModule/syndicate/install(var/obj/machinery/computer/C)
if(!newFreeFormLaw)
diff --git a/code/modules/research/designs.dm b/code/modules/research/designs.dm
index 9083a47e1c9..a78e5f6ba76 100644
--- a/code/modules/research/designs.dm
+++ b/code/modules/research/designs.dm
@@ -357,11 +357,11 @@ datum/design/aimodule/safeguard
req_tech = list("programming" = 3, "materials" = 4)
build_path = /obj/item/weapon/aiModule/safeguard
-datum/design/aimodule/onehuman
- name = "OneHuman"
+datum/design/aimodule/onecrew
+ name = "OneCrewMember"
id = "onehuman"
req_tech = list("programming" = 4, "materials" = 6)
- build_path = /obj/item/weapon/aiModule/oneHuman
+ build_path = /obj/item/weapon/aiModule/oneCrewMember
datum/design/aimodule/protectstation
name = "ProtectStation"
diff --git a/maps/exodus-1.dmm b/maps/exodus-1.dmm
index 36241aa3312..869b797ded3 100644
--- a/maps/exodus-1.dmm
+++ b/maps/exodus-1.dmm
@@ -3724,7 +3724,7 @@
"btF" = (/obj/machinery/door/firedoor/border_only{dir = 2},/turf/simulated/floor,/area/hallway/primary/central_three)
"btG" = (/turf/simulated/wall/r_wall,/area/hallway/primary/central_three)
"btH" = (/obj/structure/table/rack{dir = 8; layer = 2.9},/obj/item/weapon/tank/emergency_oxygen,/obj/machinery/atmospherics/unary/vent_pump/on{dir = 1},/turf/simulated/floor/plating,/area/maintenance/substation/command)
-"btI" = (/obj/structure/table,/obj/item/weapon/aiModule/oxygen,/obj/item/weapon/aiModule/oneHuman,/obj/machinery/door/window{base_state = "left"; dir = 8; icon_state = "left"; name = "High-Risk Modules"; req_access = list(20)},/obj/item/weapon/aiModule/purge,/obj/structure/window/reinforced,/obj/item/weapon/aiModule/antimov,/obj/item/weapon/aiModule/teleporterOffline,/turf/simulated/floor/bluegrid,/area/turret_protected/ai_upload)
+"btI" = (/obj/structure/table,/obj/item/weapon/aiModule/oxygen,/obj/item/weapon/aiModule/oneCrewMember,/obj/machinery/door/window{base_state = "left"; dir = 8; icon_state = "left"; name = "High-Risk Modules"; req_access = list(20)},/obj/item/weapon/aiModule/purge,/obj/structure/window/reinforced,/obj/item/weapon/aiModule/antimov,/obj/item/weapon/aiModule/teleporterOffline,/turf/simulated/floor/bluegrid,/area/turret_protected/ai_upload)
"btJ" = (/obj/structure/window/reinforced{dir = 4},/obj/structure/window/reinforced{dir = 8},/obj/structure/grille,/obj/machinery/door/firedoor/border_only{dir = 2},/obj/structure/cable/cyan,/obj/structure/cable/cyan{d2 = 2; icon_state = "0-2"},/obj/structure/cable/cyan{d2 = 4; icon_state = "0-4"},/turf/simulated/floor/plating,/area/turret_protected/ai_upload)
"btK" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/porta_turret{dir = 4},/turf/simulated/floor/bluegrid,/area/turret_protected/ai_upload)
"btL" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/bluegrid,/area/turret_protected/ai_upload)