fishing_portal_generator ![code/modules/fishing/fishing_portal_machine.dm 1](git.png)
Vars | |
active | The current fishing spot loaded in |
---|---|
all_destinations | contains ALL fishing destinations. |
current_linked_atom | If the current active fishing spot is from multitool linkage, this value is the atom it would originally belong to. |
linked_fishing_spots | A list of fishing spot it's linked to with a multitool. |
long_range_link | If true, the fishing portal can stay connected to a linked fishing spot even on different z-levels |
max_fishing_spots | The maximum number of fishing spots it can be linked to |
Procs | |
RefreshParts | Higher tier parts let you link to more fishing spots at once and eventually let you connect through different zlevels. |
link_fishing_spot | Called when using a multitool on any other fishing source. |
select_fish_source | Create a radial menu from a list of available fish sources. If only the default is available, activate it right away. |
Var Details
active ![code/modules/fishing/fishing_portal_machine.dm 13](git.png)
The current fishing spot loaded in
all_destinations ![code/modules/fishing/fishing_portal_machine.dm 21](git.png)
contains ALL fishing destinations.
current_linked_atom ![code/modules/fishing/fishing_portal_machine.dm 25](git.png)
If the current active fishing spot is from multitool linkage, this value is the atom it would originally belong to.
linked_fishing_spots ![code/modules/fishing/fishing_portal_machine.dm 15](git.png)
A list of fishing spot it's linked to with a multitool.
long_range_link ![code/modules/fishing/fishing_portal_machine.dm 19](git.png)
If true, the fishing portal can stay connected to a linked fishing spot even on different z-levels
max_fishing_spots ![code/modules/fishing/fishing_portal_machine.dm 17](git.png)
The maximum number of fishing spots it can be linked to
Proc Details
RefreshParts
Higher tier parts let you link to more fishing spots at once and eventually let you connect through different zlevels.
link_fishing_spot
Called when using a multitool on any other fishing source.
select_fish_source
Create a radial menu from a list of available fish sources. If only the default is available, activate it right away.