fishing_challenge
![code/modules/fishing/fishing_minigame.dm 10](git.png)
Vars | |
background | Background image from /datum/asset/simple/fishing_minigame |
---|---|
bait_taken | Did the game get past the baiting phase, used to track if bait should be consumed afterwards |
completed | Is it finished (either by win/lose or window closing) |
difficulty | Minigame difficulty |
fish_ai | Fish AI type to use |
fishing_line | Fishing line visual |
lure | Lure visual |
max_distance | Max distance we can move from the spot |
reward_path | Result path |
special_effects | Rule modifiers (eg weighted bait) |
start_time | When the ui minigame phase started |
used_rod | Rod that is used for the challenge |
user | Fishing mob |
Procs | |
Destroy | Fish minigame properties Enable special parameters |
handle_click | Create fishing line visuals |
interrupt | Challenge interrupted by something external |
Var Details
background
![code/modules/fishing/fishing_minigame.dm 36](git.png)
Background image from /datum/asset/simple/fishing_minigame
bait_taken
![code/modules/fishing/fishing_minigame.dm 20](git.png)
Did the game get past the baiting phase, used to track if bait should be consumed afterwards
completed
![code/modules/fishing/fishing_minigame.dm 14](git.png)
Is it finished (either by win/lose or window closing)
difficulty
![code/modules/fishing/fishing_minigame.dm 24](git.png)
Minigame difficulty
fish_ai
![code/modules/fishing/fishing_minigame.dm 16](git.png)
Fish AI type to use
fishing_line
![code/modules/fishing/fishing_minigame.dm 44](git.png)
Fishing line visual
lure
![code/modules/fishing/fishing_minigame.dm 34](git.png)
Lure visual
max_distance
![code/modules/fishing/fishing_minigame.dm 39](git.png)
Max distance we can move from the spot
reward_path
![code/modules/fishing/fishing_minigame.dm 22](git.png)
Result path
special_effects
![code/modules/fishing/fishing_minigame.dm 18](git.png)
Rule modifiers (eg weighted bait)
start_time
![code/modules/fishing/fishing_minigame.dm 12](git.png)
When the ui minigame phase started
used_rod
![code/modules/fishing/fishing_minigame.dm 32](git.png)
Rod that is used for the challenge
user
![code/modules/fishing/fishing_minigame.dm 30](git.png)
Fishing mob
Proc Details
Destroy
Fish minigame properties Enable special parameters
handle_click
Create fishing line visuals
interrupt
Challenge interrupted by something external