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

aquarium_content

Allows movables to be inserted/displayed in aquariums.

Vars

animation_update_signalsSignals for the aquarium we're in that trigger an animation update
current_animationFish 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
processingDoes this behviour need additional processing in aquarium, will be added to SSobj processing on insertion

Procs

animation_update_signal_procCalled when one of the signals in the 'animation_update_signals' is sent
generate_animationSends a signal to the parent to get them to update the aquarium animation of the visual object
generate_base_vcGenerates common visual object, propeties that don't depend on aquarium surface

Var Details

animation_update_signals

Signals for the aquarium we're in that trigger an animation update

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

processing

Does this behviour need additional processing in aquarium, will be added to SSobj processing on insertion

Proc Details

animation_update_signal_proc

Called when one of the signals in the 'animation_update_signals' is sent

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