Space Station 13 - Modules - TypesVar Details - Proc Details

martial_art

Vars

baseThe permanent style.
block_chanceChance to block melee attacks using items
can_horizontally_grabWhether or not you can grab someone while horizontal with this Martial Art
change_musculsIf falce, doesn't change strength and strength limit.
combo_timerWhen the last hit happened. Stores the timer_id for the combo timeout timer
combosWhat combos can the user do? List of combo types.
current_combosWhat combos are currently (possibly) being performed.
deflection_chanceChance to deflect projectiles while on throw mode.
grab_resist_chancesIf provided, this list will override victim's default resist chances for any grab state. Examples: list(MARTIAL_GRAB_AGGRESSIVE = 60, MARTIAL_GRAB_NECK = 40, MARTIAL_GRAB_KILL = 5) or list(MARTIAL_GRAB_NECK = 5)
grab_speedIf provided, this overrides default time (in deciseconds) required to reinforce aggressive/neck grab to the next state.
has_dirslashIf the martial art gives dirslash
has_explaination_verbIf the martial art has it's own explaination verb.
in_stanceIf the user is preparing a martial arts stance.
no_batonSet to TRUE to prevent users of this style from using stun batons (and stunprods)
no_baton_reasonMessage displayed when someone uses a baton when its forbidden by a martial art
no_gunsSet to TRUE to prevent users of this style from using guns (sleeping carp, highlander). They can still pick them up, but not fire them.
no_guns_messageMessage to tell the style user if they try and use a gun while no_guns = TRUE (DISHONORABRU!)
reroute_deflectionCan it reflect projectiles in a random direction?
weightThe priority of which martial art is picked from all the ones someone knows, the higher the number, the higher the priority.

Procs

get_highest_weightReturns the martial art with the highest weight from all the ones someone knows.
get_resist_chanceReturns martial art grab resist chance for passed grab state.

Var Details

base

The permanent style.

block_chance

Chance to block melee attacks using items

can_horizontally_grab

Whether or not you can grab someone while horizontal with this Martial Art

change_musculs

If falce, doesn't change strength and strength limit.

combo_timer

When the last hit happened. Stores the timer_id for the combo timeout timer

combos

What combos can the user do? List of combo types.

current_combos

What combos are currently (possibly) being performed.

deflection_chance

Chance to deflect projectiles while on throw mode.

grab_resist_chances

If provided, this list will override victim's default resist chances for any grab state. Examples: list(MARTIAL_GRAB_AGGRESSIVE = 60, MARTIAL_GRAB_NECK = 40, MARTIAL_GRAB_KILL = 5) or list(MARTIAL_GRAB_NECK = 5)

grab_speed

If provided, this overrides default time (in deciseconds) required to reinforce aggressive/neck grab to the next state.

has_dirslash

If the martial art gives dirslash

has_explaination_verb

If the martial art has it's own explaination verb.

in_stance

If the user is preparing a martial arts stance.

no_baton

Set to TRUE to prevent users of this style from using stun batons (and stunprods)

no_baton_reason

Message displayed when someone uses a baton when its forbidden by a martial art

no_guns

Set to TRUE to prevent users of this style from using guns (sleeping carp, highlander). They can still pick them up, but not fire them.

no_guns_message

Message to tell the style user if they try and use a gun while no_guns = TRUE (DISHONORABRU!)

reroute_deflection

Can it reflect projectiles in a random direction?

weight

The priority of which martial art is picked from all the ones someone knows, the higher the number, the higher the priority.

Proc Details

get_highest_weight

Returns the martial art with the highest weight from all the ones someone knows.

get_resist_chance

Returns martial art grab resist chance for passed grab state.