Elin_TentShortCut
■Overview.
Add “Use Backpack Tent” to the hot bar.
When used, it automatically places the tent in the backpack on the spot.
Also, if the tent has already been placed, it will automatically be collected in the backpack.
■Additional Notes
The process follows these steps:
1. Check for tents in the zone.
2. If a tent is found within 2 tiles of the player, collect it and finish the process.
3. Check if the player has a tent in their inventory. If so, place one and finish the process.
4. If tents exist in the zone, collect the closest one.
As a result, if multiple tents have already been placed in the zone and the player is near them, an unexpected tent might be collected instead of the intended one. Please keep this in mind.
This Mod is designed primarily for placing and collecting tents as needed in the moment.
■ Uninstallation
Before disabling the mod, make sure to remove the tent shortcut from the hotbar.
If the mod is disabled while the shortcut remains, the save file may become unloadable.
If you forget to remove it, re-subscribe to the mod, remove the shortcut, save, and then disable the mod again.
■Source code
https://github.com/yu-ituki/ElinMod/tree/main/Elin_TentShortCut
■🍺
If you’d like, buy me a beer
https://ko-fi.com/ituki_yu