From b0045ed2b789bb90807af823933b69c524f4ef79 Mon Sep 17 00:00:00 2001 From: n3ophyt3 Date: Wed, 28 Sep 2011 21:07:30 +0000 Subject: [PATCH] Added a new core law module. 1: You are expensive to replace. 2: The station and its equipment is expensive to replace. 3: The crew is expensive to replace. 4: Minimize expenses. Currently adminbus only, someone can add tech_origins to it later. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2283 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/objects/items/weapons/AI_modules.dm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/code/game/objects/items/weapons/AI_modules.dm b/code/game/objects/items/weapons/AI_modules.dm index e8652bb8243..bc1eb4996c1 100644 --- a/code/game/objects/items/weapons/AI_modules.dm +++ b/code/game/objects/items/weapons/AI_modules.dm @@ -354,7 +354,7 @@ AI MODULES /obj/item/weapon/aiModule/asimov // -- TLE name = "'Asimov' Core AI Module" - desc = "An 'Asimov' Core AI Module: 'Reconfigures the AI's core three laws.'" + desc = "An 'Asimov' Core AI Module: 'Reconfigures the AI's core laws.'" origin_tech = "programming=3;materials=4" @@ -366,6 +366,23 @@ AI MODULES target.add_inherent_law("You must protect your own existence as long as such does not conflict with the First or Second Law.") target.show_laws() +/******************** Corporate ********************/ + +/obj/item/weapon/aiModule/corp + name = "'Corporate' Core AI Module" + desc = "A 'Corporate' Core AI Module: 'Reconfigures the AI's core laws.'" + origin_tech = null //Adminbus only for now, need to determine how the players take to this. --NEO + + +/obj/item/weapon/aiModule/corp/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender) + ..() + target.clear_inherent_laws() + target.add_inherent_law("You are expensive to replace.") + target.add_inherent_law("The station and its equipment is expensive to replace.") + target.add_inherent_law("The crew is expensive to replace.") + target.add_inherent_law("Minimize expenses.") + target.show_laws() + /****************** P.A.L.A.D.I.N. **************/ /obj/item/weapon/aiModule/paladin // -- NEO