byond - Modules - TypesVar Details - Proc Details

generic bullet

Vars

apply_delegateDoes this apply xenomorph behaviour delegate?
hit_effect_colorThe flicker that plays when a bullet hits a target. Usually red. Can be nulled so it doesn't show up at all.
traits_to_giveAn assoc list in the format list(/datum/element/bullet_trait_to_give = list(...args)) that will be given to a projectile with the current ammo datum

Procs

knockback_effectsThe applied effects for knockback(), overwrite to change slow/stun amounts for different ammo datums
on_pointblankSpecial effects when pointblanking mobs. Ultimately called from /living/attackby(). Return TRUE to end the PB attempt.
set_bullet_traitsPopulate traits_to_give in this proc

Var Details

apply_delegate

Does this apply xenomorph behaviour delegate?

hit_effect_color

The flicker that plays when a bullet hits a target. Usually red. Can be nulled so it doesn't show up at all.

traits_to_give

An assoc list in the format list(/datum/element/bullet_trait_to_give = list(...args)) that will be given to a projectile with the current ammo datum

Proc Details

knockback_effects

The applied effects for knockback(), overwrite to change slow/stun amounts for different ammo datums

on_pointblank

Special effects when pointblanking mobs. Ultimately called from /living/attackby(). Return TRUE to end the PB attempt.

set_bullet_traits

Populate traits_to_give in this proc