From ddfed28eac4900d9c6e59cbfccdb98c2e6efd94f Mon Sep 17 00:00:00 2001 From: "n3ophyt3@gmail.com" Date: Tue, 4 Jan 2011 03:32:43 +0000 Subject: [PATCH] Added P.A.L.A.D.I.N. core law module Law 1: Never willingly commit an evil act. Law 2: Respect legitimate authority. Law 3: Act with honor. Law 4: Help those in need. Law 5: Punish those who harm or threaten innocents. Currently requires adminspawning, will be added to map when one of the usual map people gets told to, may eventually become a possible starting module if it proves reasonably safe for the crew in general. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@768 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/objects/items/weapons/AI_modules.dm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/code/game/objects/items/weapons/AI_modules.dm b/code/game/objects/items/weapons/AI_modules.dm index c55c562215e..ce7bb1dd946 100644 --- a/code/game/objects/items/weapons/AI_modules.dm +++ b/code/game/objects/items/weapons/AI_modules.dm @@ -330,6 +330,19 @@ 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() +/obj/item/weapon/aiModule/paladin // -- NEO + name = "'P.A.L.A.D.I.N.' Core AI Module" + desc = "A P.A.L.A.D.I.N. Core AI Module: 'Reconfigures the AI's core laws.'" + +/obj/item/weapon/aiModule/paladin/transmitInstructions(var/mob/living/silicon/ai/target, var/mob/sender) + ..() + target.clear_inherent_laws() + target.add_inherent_law("Never willingly commit an evil act.") + target.add_inherent_law("Respect legitimate authority.") + target.add_inherent_law("Act with honor.") + target.add_inherent_law("Help those in need.") + target.add_inherent_law("Punish those who harm or threaten innocents.") + target.show_laws() /obj/item/weapon/aiModule/freeformcore // Slightly more dynamic freeform module -- TLE name = "'Freeform' Core AI Module"