Added a second computer to the AI upload chamber. Its purpose is to modify the laws of cyborgs that do not get their laws from an existing AI.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@279 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-10-14 21:41:37 +00:00
parent 6bb290d7c7
commit 208091d903
5 changed files with 3834 additions and 3738 deletions
@@ -834,6 +834,30 @@ Frequency:
/mob/living/silicon/robot/proc/self_destruct()
src.gib(1)
/mob/living/silicon/robot/proc/laws_sanity_check()
if (!src.laws)
src.laws = new /datum/ai_laws/asimov
/mob/living/silicon/robot/proc/set_zeroth_law(var/law)
src.laws_sanity_check()
src.laws.set_zeroth_law(law)
/mob/living/silicon/robot/proc/add_inherent_law(var/number, var/law)
src.laws_sanity_check()
src.laws.add_inherent_law(number, law)
/mob/living/silicon/robot/proc/add_supplied_law(var/number, var/law)
src.laws_sanity_check()
src.laws.add_supplied_law(number, law)
/mob/living/silicon/robot/proc/clear_supplied_laws()
src.laws_sanity_check()
src.laws.clear_supplied_laws()
/mob/living/silicon/robot/proc/clear_inherent_laws()
src.laws_sanity_check()
src.laws.clear_inherent_laws()
///mob/living/silicon/robot/proc/eyecheck()
// return