BandaStation - Modules - Types — Var Details - Proc Details

ai_law_change_request

Vars

lawsThe proposed laws, in order
notify_crewWhether the crew should be notified of the law change once approved
requesterThe AI who submitted this request
resolvedWhether the request has already been resolved (approved or rejected)
reviewingWhether an admin is currently reviewing the request, switching the UI into review mode
submittedWhether the request has been sent to admins for review (as opposed to merely drafted in the UI)

Procs

announce_law_changeAnnounces the law change to the crew
apply_lawsReplaces the laws of the core law module on the AI's linked module rack
approveReview approval handler
law_request_validChecks that the proposed laws are complete and within the length limit
notify_adminsFax-like admin notification
rejectReview rejection handler
start_reviewReview start handler

Var Details

laws

The proposed laws, in order

notify_crew

Whether the crew should be notified of the law change once approved

requester

The AI who submitted this request

resolved

Whether the request has already been resolved (approved or rejected)

reviewing

Whether an admin is currently reviewing the request, switching the UI into review mode

submitted

Whether the request has been sent to admins for review (as opposed to merely drafted in the UI)

Proc Details

announce_law_change

Announces the law change to the crew

apply_laws

Replaces the laws of the core law module on the AI's linked module rack

approve

Review approval handler

law_request_valid

Checks that the proposed laws are complete and within the length limit

notify_admins

Fax-like admin notification

reject

Review rejection handler

start_review

Review start handler