aquarium
Vars | |
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 |
Procs | |
admire | Apply mood bonus depending on aquarium status |
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 |
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
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