/tg/ Station 13 - Modules - TypesVar Details - Proc Details

meteor

Vars

destThe thing we're moving towards, usually a turf
dropamtHow much stuff to spawn when you die
hitpwrLevel of ex_act to be called on hit.
hitsThe resilience of our meteor
lifetimeLifetime in seconds
meteorsoundSound to play when you hit something
signatureUsed by Stray Meteor event to indicate meteor type (the type of sensor that "detected" it) in announcement
threatUsed for determining which meteors are most interesting
z_originalOur starting z level, prevents infinite meteors

Procs

check_examine_awardUsed to check if someone who has examined a meteor will receive an award.
handle_stoppingDeals with what happens when we stop moving, IE we die
shield_defenseHandles the meteor's interaction with meteor shields.

Var Details

dest

The thing we're moving towards, usually a turf

dropamt

How much stuff to spawn when you die

hitpwr

Level of ex_act to be called on hit.

hits

The resilience of our meteor

lifetime

Lifetime in seconds

meteorsound

Sound to play when you hit something

signature

Used by Stray Meteor event to indicate meteor type (the type of sensor that "detected" it) in announcement

threat

Used for determining which meteors are most interesting

z_original

Our starting z level, prevents infinite meteors

Proc Details

check_examine_award

Used to check if someone who has examined a meteor will receive an award.

Checks the criteria to receive the "examine a meteor" award. Admin spawned meteors will not grant the user an achievement.

Arguments:

handle_stopping

Deals with what happens when we stop moving, IE we die

shield_defense

Handles the meteor's interaction with meteor shields.

Returns TRUE if the meteor should be destroyed. Overridable for custom shield interaction. Return FALSE if a meteor's interaction with meteor shields should NOT destroy it.

Arguments: