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

aquarium

Vars

allow_breedingCan fish reproduce in this quarium.
feeding_intervalWhile the feed storage is not empty, this is the interval which the fish are fed.
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
examineThe glass overlay
free_layerbase aq layer min_offset = this value is returned on bottom layer mode min_offset + 0.1 fish1 min_offset + 0.2 fish2 ... these layers are returned for auto layer mode and tracked by used_layers min_offset + max_offset = this value is returned for top layer mode min_offset + max_offset + 1 = this is used for glass overlay
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
update_overlays"aquarium_map" is used for mapping, so mappers can tell what it's.

Var Details

allow_breeding

Can fish reproduce in this quarium.

feeding_interval

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

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

examine

The glass overlay

free_layer

base aq layer min_offset = this value is returned on bottom layer mode min_offset + 0.1 fish1 min_offset + 0.2 fish2 ... these layers are returned for auto layer mode and tracked by used_layers min_offset + max_offset = this value is returned for top layer mode min_offset + max_offset + 1 = this is used for glass overlay

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

update_overlays

"aquarium_map" is used for mapping, so mappers can tell what it's.