Cleanbots are now created unlocked.

Allows roboticist to set up cleanbots and if they patrol or not.  Requires janitor access to lock them (Captain, HoP, Janitor)

Should probably have a proc that checks you have either of the access listed but for now this fixes this minor problem.
This commit is contained in:
Ccomp5950
2014-01-06 23:11:09 -06:00
parent cd4ef7a1b7
commit 0798c7f4c3

View File

@@ -54,6 +54,8 @@
src.botcard = new /obj/item/weapon/card/id(src)
var/datum/job/janitor/J = new/datum/job/janitor
src.botcard.access = J.get_access()
src.locked = 0 // Start unlocked so roboticist can set them to patrol.
if(radio_controller)
radio_controller.add_object(src, beacon_freq, filter = RADIO_NAVBEACONS)