mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Added a list that tracks changes to AI/cyborg laws, similar to the list that tracks signaler use
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@890 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -109,6 +109,8 @@
|
||||
if (!checktraitor(src))
|
||||
src.set_zeroth_law("")
|
||||
src.clear_supplied_laws()
|
||||
var/time = time2text(world.realtime,"hh:mm:ss")
|
||||
lawchanges.Add("[time] <b>:</b> [src.name]'s noncore laws have been reset due to power failure")
|
||||
spawn(50)
|
||||
while ((src:aiRestorePowerRoutine!=0) && stat!=2)
|
||||
src.oxyloss += 2
|
||||
|
||||
@@ -438,6 +438,8 @@
|
||||
clear_supplied_laws()
|
||||
clear_inherent_laws()
|
||||
src.laws = new /datum/ai_laws/syndicate_override
|
||||
var/time = time2text(world.realtime,"hh:mm:ss")
|
||||
lawchanges.Add("[time] <B>:</B> [user.name]([user.key]) emagged [src.name]([src.key])")
|
||||
set_zeroth_law("Only [usr] is a syndicate operative.")
|
||||
src << "\red ALERT: Foreign software detected."
|
||||
sleep(5)
|
||||
|
||||
Reference in New Issue
Block a user