mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Admin law panel fixes and enhancements
This resolves some deficiencies in the PP law toolkit for silicons. - Added remove button for each law (tested) - Removed buggy blank law behavior. Blank laws are now ignored. - Added button to reset lawset to a standard one (e.g. asimov) (tested) - Cyborgs slaved to AI are notified of law change when Send Laws is used, and are also forced to sync. - Law changes refresh PP.
This commit is contained in:
@@ -164,6 +164,7 @@ var/global/floorIsLava = 0
|
||||
body += L.display_admin_tools(M)
|
||||
body += "<br /><a href='?src=\ref[src];mob=\ref[M];add_law=1'>Add Law</a>"
|
||||
body += " | <a href='?src=\ref[src];mob=\ref[M];clear_laws=1'>Clear Laws</a>"
|
||||
body += " | <a href='?src=\ref[src];mob=\ref[M];reset_laws=1'>Reset Lawset</a>"
|
||||
body += "<br /><a href='?src=\ref[src];mob=\ref[M];announce_laws=1'><b>Send Laws</b></a> - User is not notified of changes until this button pushed!<br />"
|
||||
|
||||
body += {"<br><br>
|
||||
|
||||
Reference in New Issue
Block a user