Wanted SystemUploaded by Gentle Spy
Sep 15th 2020, 8:22 AM
A wanted/innocent system to determine whether a kill is justified or not. Includes multiple RTB/BLG preferences making it highly customizable. Also includes events.
(Slayer by Greek2Me is currently required for use.)
setWanted event: marks the player as wanted.
removeWanted event: removes the player's wanted level.
removeMinorWanted event: removes the players wanted level unless the player has committed assault or murder.
Contraband: when picking up an item, if it is not one of the items marked as legal, it will make you wanted.
Event: when the player activates a brick event making them wanted, could be used for trespassing, etc.
Assault: any time the player attacks a member of the opposing team it will make them wanted with a higher severity than the previous mentioned crimes.
Murder: any time the player kills a member of the opposing team, higher severity, same as assault.
$Pref::Server::Team1: the team that cannot become wanted, by default set to "guards."
$Pref::Server::Team2: the team that can become wanted, by default set to "prisoners."
$Pref::Server::ResetOnDeath: whether your wanted level will reset on death, 3 options, yes, minor crimes, and no. By default this is set to "yes."
$Pref::Server::LegalItems: what items the second team can pick up without becoming wanted, by default set to "Push Broom" and "Fists".
$Pref::Server::LegalItemCount: the amount of items the second team can legally pick up, by default set to 2 to match above.
Gentle Spy (166053), coding, testing, bug fixing.
Gothboy77 (14329), coding, testing, bug fixing, making it pretty.
Bird159, giving me the idea.