Law manager now only requires the host to be conscious

This commit is contained in:
Markolie
2015-09-28 18:25:50 +02:00
parent c5e5b3d9ab
commit 2c7d6f1a1b
3 changed files with 9 additions and 1 deletions
@@ -81,7 +81,7 @@
set name = "Law Manager"
set category = "Subsystems"
law_manager.ui_interact(usr, state = self_state)
law_manager.ui_interact(usr, state = conscious_state)
/********************
* Power Monitor *
@@ -0,0 +1,7 @@
/*
This state only checks if user is conscious.
*/
/var/global/datum/topic_state/conscious_state/conscious_state = new()
/datum/topic_state/conscious_state/can_use_topic(var/src_object, var/mob/user)
return user.stat == CONSCIOUS ? STATUS_INTERACTIVE : STATUS_CLOSE