Files
Aurora.3/code/modules/law/law.dm
LordFowl 51bd200d7c Porting Apollo Infractions Computer (#1033)
Ports Apollo's infraction's system, creating a permanent criminal record for every character. Every minor or medium infraction accrued over the course of a round is added to the character's permanent security record which is available at vanilla records councils. Antagonists are automatically exempt from this process, and players can exercise control over what charges they consider canon or not.

Brigging a person is now dependent on the criminal sentencing computer, which reads a person's ID and applies a brig timer automatically for the charges selected. Personnel without ID's will have to be brigged manually.
2016-12-23 01:00:04 +02:00

33 lines
1.3 KiB
Plaintext

/*
There's a single instance of each law datum per rounds. These hold all of the data
that is needed to process a crime. When a criminal is brought in, you select a law
that was broken, and a crime datum is created.
record_template = {"
<center>NOS Apollo Incident Report</center><hr>
$PRISONER_NAME was found guilty of $CRIME on $DATE. Their sentence was $SENTENCE and they were fined $FINE.
"}
$PRISONER_NAME - Gets replaced with the prisoner's name
$SENTENCE - Gets replaced with the length of the sentence
$CRIME - Gets replaced with the name of the law broken
$FINE - Gets replaced with the fine amount
$DATE - Gets replaced with the current IC date
*/
/datum/law
var/name = "Law"
var/desc = "Pay the court a fine or serve your sentence."
var/id = "i000"
var/min_fine = 0 // Minimum fine (in thalers)
var/max_fine = 0 // Maximum fine (in thalers)
var/min_brig_time = 0 // Used for low-medium severity crimes, brig sentence measured in minutes
var/max_brig_time = 0 // A sentence of 60 minutes or more is permabrig for the round
/*var/min_prison_time = 0 Used for medium-high severity crimes, prison sentence measured in days
var/max_prison_time = 0 A sentence totalling 60 days or more is a life sentence*/
var/severity = 0 // 1 - Low, 2 - Medium, 3 - High
var/felony = 0 // Does this law carry a felony conviction?