SPLURT Station 13 - Modules - TypesVar Details - Proc Details

energy

Vars

ammo_type= TRUE/FALSE decides if the user can switch to it of their own accord
current_firemode_indexThe index of the ammo_types/firemodes which we're using right now
right_click_overriddenSET THIS TO TRUE IF YOU OVERRIDE altafterattack() or ANY right click action! If this is FALSE, the gun will show in examine its default right click behavior, which is to switch modes.
shot_type_overlayIf TRUE, when modifystate is TRUE this energy gun gets an overlay based on its selected shot type, like "[icon_state]_disable".

Procs

get_charge_ratioUsed by update_icon_state() and update_overlays()
select_fireThis is the proc used in general for when a user switches firemodes. Just goes to next firemode by default.

Var Details

ammo_type

= TRUE/FALSE decides if the user can switch to it of their own accord

current_firemode_index

The index of the ammo_types/firemodes which we're using right now

right_click_overridden

SET THIS TO TRUE IF YOU OVERRIDE altafterattack() or ANY right click action! If this is FALSE, the gun will show in examine its default right click behavior, which is to switch modes.

shot_type_overlay

If TRUE, when modifystate is TRUE this energy gun gets an overlay based on its selected shot type, like "[icon_state]_disable".

Proc Details

get_charge_ratio

Used by update_icon_state() and update_overlays()

select_fire

This is the proc used in general for when a user switches firemodes. Just goes to next firemode by default.