ai_laws

Procs | |
get_law_list | Generates a list of all laws on this datum, including rendered HTML tags if required |
---|---|
replace_random_law | Removes a random law and replaces it with the new one |
Proc Details
get_law_list
Generates a list of all laws on this datum, including rendered HTML tags if required
Arguments:
- include_zeroth - Operator that controls if law 0 or law 666 is returned in the set
- show_numbers - Operator that controls if law numbers are prepended to the returned laws
- render_html - Operator controlling if HTML tags are rendered on the returned laws
replace_random_law
Removes a random law and replaces it with the new one
Args: law - The law that is being uploaded remove_law_groups - A list of law categories that can be deleted from insert_law_group - The law category that the law will be inserted into