Remove zeroth law with own board

This commit is contained in:
Markolie
2015-02-10 03:06:43 +01:00
parent 26d0de51bb
commit 3a4679bce7
5 changed files with 41 additions and 15 deletions
+2 -3
View File
@@ -68,8 +68,7 @@
for (var/mob/living/silicon/ai/aiPlayer in player_list)
if (aiPlayer.client)
var/law = ""
aiPlayer.set_zeroth_law(law)
aiPlayer.clear_zeroth_law()
aiPlayer << "\red <b>You have detected a change in your laws information:</b>"
aiPlayer << "Laws Updated: [law]"
aiPlayer << "Laws Updated: Zeroth law removed."
..()
@@ -23,6 +23,10 @@
/mob/living/silicon/ai/proc/set_zeroth_law(var/law, var/law_borg)
src.laws_sanity_check()
src.laws.set_zeroth_law(law, law_borg)
/mob/living/silicon/ai/proc/clear_zeroth_law(var/law_borg)
src.laws_sanity_check()
src.laws.clear_zeroth_law(law_borg)
/mob/living/silicon/ai/proc/add_inherent_law(var/law)
src.laws_sanity_check()
@@ -77,6 +77,10 @@
laws_sanity_check()
laws.set_zeroth_law(law)
/mob/living/silicon/robot/proc/clear_zeroth_law()
laws_sanity_check()
laws.clear_zeroth_law()
/mob/living/silicon/robot/proc/add_inherent_law(var/law)
laws_sanity_check()
laws.add_inherent_law(law)