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

aquarium_content

Allows movables to be inserted/displayed in aquariums.

Vars

base_pxBase px offset of the visual object in current aquarium aka current base position
base_pyBase px offset of the visual object in current aquarium aka current base position
current_aquariumKeeps track of our current aquarium.
propertiesThis is a datum that describes our in-aquarium functionality

Procs

attack_reactionOur aquarium is hit with stuff
generate_animationActually animates the vc holder
generate_base_vcGenerates common visual object, propeties that don't depend on aquarium surface
on_surface_changedAquarium surface changed in some way, we need to recalculate base position and aninmation
start_floppingStarts flopping animation
stop_floppingStops flopping animation
swim_animationCreate looping random path animation, pixel offsets parameters include offsets already

Var Details

base_px

Base px offset of the visual object in current aquarium aka current base position

base_py

Base px offset of the visual object in current aquarium aka current base position

current_aquarium

Keeps track of our current aquarium.

properties

This is a datum that describes our in-aquarium functionality

Proc Details

attack_reaction

Our aquarium is hit with stuff

generate_animation

Actually animates the vc holder

generate_base_vc

Generates common visual object, propeties that don't depend on aquarium surface

on_surface_changed

Aquarium surface changed in some way, we need to recalculate base position and aninmation

start_flopping

Starts flopping animation

stop_flopping

Stops flopping animation

swim_animation

Create looping random path animation, pixel offsets parameters include offsets already