aquarium_content 
Allows movables to be inserted/displayed in aquariums.
Vars | |
| animation_update_signals | Signals of the parent that will trigger animation update |
|---|---|
| beauty | The current beauty this component gives to the aquarium it's in |
| current_animation | Fish sprite how to: The aquarium icon state needs to be centered on 16,16 in the dmi and facing left by default. sprite_width/sprite_height are the sizes it will have in aquarium and used to control animation boundaries. Ideally these two vars represent the size of the aquarium icon state, but they can be one or two units shorter to give more room for the visual to float around inside the aquarium, since the aquarium tank frame overlay will likely cover the extra pixels anyway. Currently playing animation |
| current_aquarium | Keeps track of our current aquarium. |
| original_beauty | The original value of the beauty this component had when initialized |
| processing | Does this behviour need additional processing in aquarium, will be added to SSobj processing on insertion |
Procs | |
| change_aquarium_beauty | Modifies the beauty of the aquarium when content is added or removed, or when fishes die or live again somehow. |
| generate_animation | Sends a signal to the parent to get them to update the aquarium animation of the visual object |
| 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 |
Var Details
animation_update_signals 
Signals of the parent that will trigger animation update
beauty 
The current beauty this component gives to the aquarium it's in
current_animation 
Fish sprite how to: The aquarium icon state needs to be centered on 16,16 in the dmi and facing left by default. sprite_width/sprite_height are the sizes it will have in aquarium and used to control animation boundaries. Ideally these two vars represent the size of the aquarium icon state, but they can be one or two units shorter to give more room for the visual to float around inside the aquarium, since the aquarium tank frame overlay will likely cover the extra pixels anyway. Currently playing animation
current_aquarium 
Keeps track of our current aquarium.
original_beauty 
The original value of the beauty this component had when initialized
processing 
Does this behviour need additional processing in aquarium, will be added to SSobj processing on insertion
Proc Details
change_aquarium_beauty
Modifies the beauty of the aquarium when content is added or removed, or when fishes die or live again somehow.
generate_animation
Sends a signal to the parent to get them to update the aquarium animation of the visual object
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