Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/fishing_spot

a datum that holds all the information about a "fishing spot"

Vars

do_not_generatefor wip fishing spots that shouldnt be automatically added to the global list of fishing spots
fish_availableassociative list with the format (fish_type = probability), doesnt need to be ordered in descending probability these are the fishing results that are ALWAYS avaiable at the spot. These won't get modified by conditionals like fishing loottables are.
fishing_atom_typethe type of the atom that is the "fishing spot"
fishing_lootpoolsthis list contains all fishing loottables of this spot. Add and modify these in new()
rod_tier_requiredwhat tier of rod do you need to fish here? current rods are tier 1,2 & 3

Procs

try_fishcalled every time a fishing rod's action loop finishes. returns 0 if catching a fish failed, returns 1 if it succeeds

Var Details

do_not_generate

for wip fishing spots that shouldnt be automatically added to the global list of fishing spots

fish_available

associative list with the format (fish_type = probability), doesnt need to be ordered in descending probability these are the fishing results that are ALWAYS avaiable at the spot. These won't get modified by conditionals like fishing loottables are.

fishing_atom_type

the type of the atom that is the "fishing spot"

fishing_lootpools

this list contains all fishing loottables of this spot. Add and modify these in new()

rod_tier_required

what tier of rod do you need to fish here? current rods are tier 1,2 & 3

Proc Details

try_fish

called every time a fishing rod's action loop finishes. returns 0 if catching a fish failed, returns 1 if it succeeds