resource ![code/modules/explorer_drone/exploration_events/resource.dm 2](git.png)
Simple event type that checks if you have a tool and after a retrieval delay adds loot to drone.
Vars | |
amount | How many times can this be extracted |
---|---|
has_tool_description | Description shown when you have the necessary tool |
loot_type | What you get out of it, either /obj path or adventure_loot_generator id |
no_tool_description | Description shown when you don't have the tool |
required_tool | Tool type required to recover this resource |
success_log | Message logged on success |
Procs | |
delay_finished | Can go back if something is left. |
get_description | Description shown below image |
Var Details
amount ![code/modules/explorer_drone/exploration_events/resource.dm 20](git.png)
How many times can this be extracted
has_tool_description ![code/modules/explorer_drone/exploration_events/resource.dm 16](git.png)
Description shown when you have the necessary tool
loot_type ![code/modules/explorer_drone/exploration_events/resource.dm 10](git.png)
What you get out of it, either /obj path or adventure_loot_generator id
no_tool_description ![code/modules/explorer_drone/exploration_events/resource.dm 14](git.png)
Description shown when you don't have the tool
required_tool ![code/modules/explorer_drone/exploration_events/resource.dm 8](git.png)
Tool type required to recover this resource
success_log ![code/modules/explorer_drone/exploration_events/resource.dm 12](git.png)
Message logged on success
Proc Details
delay_finished
Can go back if something is left.
get_description
Description shown below image