gun_safety
Component that will prevent a gun from firing if the safety is turned on
Vars | |
safety_currently_on | Is the safety actually on? |
---|---|
toggle_safety_action | Holder for the toggle safety action |
Procs | |
check_if_we_can_actually_shooty | Checks if the safety is currently on, if it is then stops the gun from firing |
on_examine | Adds the gun safety's current status to the gun's examine |
toggle_safeties | Toggles the safeties on or off |
update_action_button_state | Small proc to update the actio button's icon, just so I can not have to copypaste the same thing several times. |
we_may_be_toggling_safeties | Calls toggle_safeties if the action type for doing so is used |
Var Details
safety_currently_on
Is the safety actually on?
toggle_safety_action
Holder for the toggle safety action
Proc Details
check_if_we_can_actually_shooty
Checks if the safety is currently on, if it is then stops the gun from firing
on_examine
Adds the gun safety's current status to the gun's examine
toggle_safeties
Toggles the safeties on or off
update_action_button_state
Small proc to update the actio button's icon, just so I can not have to copypaste the same thing several times.
we_may_be_toggling_safeties
Calls toggle_safeties if the action type for doing so is used