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

aquarium

Vars

allow_breedingCan fish reproduce in this quarium.
current_beautyVar used to keep track of the current beauty of the aquarium, which can be throughfully changed by aquarium content.
feeding_intervalWhile the feed storage is not empty, this is the interval which the fish are fed.
icon_prefixThe icon state is used for mapping so mappers know what they're placing. This prefixes the real icon used in game. For an example, "aquarium" gives the base sprite of "aquarium_base", the glass is "aquarium_glass_water", and so on.
last_feedingThe last time fishes were fed by the acquarium itsef.
tracked_fish_by_typeobj/item/fish in the aquarium, sorted by type - does not include things with aquarium visuals that are not fish
used_layersCurrent layers in use by aquarium contents

Procs

admireApply mood bonus depending on aquarium status
get_fishesReturns tracked_fish_by_type but flattened and without the items in the blacklist, also shuffled if shuffle is TRUE.
try_to_put_mob_inTries to put mob pulled by the user in the aquarium after a delay

Var Details

allow_breeding

Can fish reproduce in this quarium.

current_beauty

Var used to keep track of the current beauty of the aquarium, which can be throughfully changed by aquarium content.

feeding_interval

While the feed storage is not empty, this is the interval which the fish are fed.

icon_prefix

The icon state is used for mapping so mappers know what they're placing. This prefixes the real icon used in game. For an example, "aquarium" gives the base sprite of "aquarium_base", the glass is "aquarium_glass_water", and so on.

last_feeding

The last time fishes were fed by the acquarium itsef.

tracked_fish_by_type

obj/item/fish in the aquarium, sorted by type - does not include things with aquarium visuals that are not fish

used_layers

Current layers in use by aquarium contents

Proc Details

admire

Apply mood bonus depending on aquarium status

get_fishes

Returns tracked_fish_by_type but flattened and without the items in the blacklist, also shuffled if shuffle is TRUE.

try_to_put_mob_in

Tries to put mob pulled by the user in the aquarium after a delay