aquarium_content

Allows movables to be inserted/displayed in aquariums.
Vars | |
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 |
Procs | |
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 |
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