mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user