Jehree added a new file:
QuoteDisplay More
Drop any item in raid, interact with it, and select Place Item to make it persist in that location between raids!
If the item is searchable like a backpack or other container, you can also Search it without needing to pick it up.
Balance:
There is a "Cost" system. Every single item will have a cost, determined like this
- If the item is a container, it's cost will = the amount of inventory cells it holds
- If not, it's cost will = the amount of inventory cells it takes up (yes folding rifles will reduce the cost)
- This is also the case for item cases (weapon cases, junkbox, etc.), making them the most cost efficient way to store items on the map!
- If it's cost is less than 3 (configurable) it will cost 3 instead. Smaller items are more cost-efficient when placed inside containers for this reason.
Each map will then have a maximum amount of "Points" you are allowed to spend on placement.
If this sounds annoying and you'd rather it not be limited, or you want to tweak the numbers, check the F12 config menu. You can change just about all of this.
Also note that changes to the config are not destructive, meaning if you place a bunch of items and then reduce the cost for the map, those items will not be un-placed or anything, the new cost just won't apply to them until they are reclaimed and placed again.
This mod also removes all in raid restrictions, all discard restrictions, and all backpack restrictions by default. See the 'Config' tab for info on how to disable those things if you'd like.
If you'd like to support my work, you can buy me a coffee!
Drop an item on the ground, look at it, and select 'Place Item'
It will change colors slightly to indicate it is placed (color can be configured in the F12 menu). It will now remain in this location until you select 'Reclaim'. All states of the item (it's contents, attachements, whether a light is on, etc.) will persist through multiple raids.
Note that if the placed item itself is a container, you can access it without needing to reclaim it:
Config:
All of the F12 menu config options have explanations, mouse over them to see what everything does. Make sure to read about the cost system on the 'Overview' tab as well to understand how it works.
user/mods/LeaveItThere-Server/config.json - all of this is self explanatory
"remove_in_raid_restrictions": true,
"everything_is_discardable": true,
"remove_backpack_restrictions": true
BepInEx/plugins/LeaveItThere/placeable_items_filter.json
Set either the WhitelistEnabled or BlacklistEnabled to true (using both would be pretty pointless)
Fill the proper list with item id's to either whitelist or blacklist them. Use https://db.sp-tarkov.com/search/ to find Item ids
Example that makes only junkboxes and pistol cases place-able:
"WhitelistEnabled": true,
"BlacklistEnabled": false,
"Whitelist": ["5b7c710788a4506dec015957", "567143bf4bdc2d1a0f8b4567"],
"Blacklist": []
Notes:
- This will require a game restart to take affect
- Currently using parent ids / baseclass ids is not supported, but I may add that in the future
Console Commands:
lit_list_placed_items
Lists all placed items, as well as how far from you they are and what direction to travel to get to them
lit_unplace_all_items_below_cost cost_amount
'Reclaims' all items on the map with a cost lower than the number you give the command in place of cost_amount
Set cost_amount to something like 999 to Reclaim ALL items on the map
lit_teleport_all_placed_items_to_player cost_amount "IAMSURE"'Reclaims' all items on the map with a cost lower than the number you give the command in place of cost_amount
THEN teleports them to your feet
Set cost_amount to something like 999 to Reclaim and teleport ALL items on the map
All of the item data is stored in the user/mods/LeaveItThere-Server/item_data folder. Delete files in that folder to manually clear them of placed items.
Planned Features:
- Profile specific item placement data
- Visual indicator to aid in finding placed items you may have lost
- Fika support
Credits:
- This mod would very likely not have been possible without Fika by LacyWay as a learning resource. Thanks Lacy!
- Thanks Drakia, Lacy, and Cj for helping me squash the initial few release bugs!