sparring_match ![code/modules/religion/sparring/sparring_datum.dm 1](git.png)
Vars | |
arena_condition | area instance the participants must stay in |
---|---|
chaplain | the chaplain. it isn't actually a chaplain all the time, but in the cases where the chaplain is needed this will always be them. |
chaplain_violations_allowed | cheats from the chaplain |
flubs | outside interventions that ruin the match |
opponent | the other fighter |
opponent_violations_allowed | cheats from the non-chaplain |
stakes_condition | what stakes the fight will have |
weapons_condition | what weapons will be allowed during the sparring match |
Procs | |
arena_violation | someone tried to leave |
check_for_victory | someone is changing health state, end the fight in crit |
cleanup_sparring_match | helper to remove all the effects after a match ends |
death_flub | someone randomly fucking died |
deletion_flub | someone randomly fucking deleted |
flubbed_match | this match was interfered on, nobody wins or loses anything, just end |
grenade_violation | someone used a grenade |
gun_violation | someone used a gun |
melee_violation | someone used melee weapons |
win | most of the effects are handled on lose() instead. |
Var Details
arena_condition ![code/modules/religion/sparring/sparring_datum.dm 9](git.png)
area instance the participants must stay in
chaplain ![code/modules/religion/sparring/sparring_datum.dm 3](git.png)
the chaplain. it isn't actually a chaplain all the time, but in the cases where the chaplain is needed this will always be them.
chaplain_violations_allowed ![code/modules/religion/sparring/sparring_datum.dm 13](git.png)
cheats from the chaplain
flubs ![code/modules/religion/sparring/sparring_datum.dm 17](git.png)
outside interventions that ruin the match
opponent ![code/modules/religion/sparring/sparring_datum.dm 5](git.png)
the other fighter
opponent_violations_allowed ![code/modules/religion/sparring/sparring_datum.dm 15](git.png)
cheats from the non-chaplain
stakes_condition ![code/modules/religion/sparring/sparring_datum.dm 11](git.png)
what stakes the fight will have
weapons_condition ![code/modules/religion/sparring/sparring_datum.dm 7](git.png)
what weapons will be allowed during the sparring match
Proc Details
arena_violation
someone tried to leave
check_for_victory
someone is changing health state, end the fight in crit
cleanup_sparring_match
helper to remove all the effects after a match ends
death_flub
someone randomly fucking died
deletion_flub
someone randomly fucking deleted
flubbed_match
this match was interfered on, nobody wins or loses anything, just end
grenade_violation
someone used a grenade
gun_violation
someone used a gun
melee_violation
someone used melee weapons
win
most of the effects are handled on lose()
instead.