SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

Lost and Found

CBy Centur1on

Players can find items that were lost/discarded by others via panning, terraforming or fishing!

Lost and Found

Description

<p><strong>Lost and Found</strong> adds a new feature to the game - all items dropped on the ground no longer just despawn, upon despawning they get added to a global pool of items that can be panned out by players or dug up during terraforming or fished out during fishing!<br /><br />That means, that item lost by one player can be found by other players.<br />Someone can find someone's old equipment and use it, or even get a written parchment or a book and read it!<br /><br /><br />There is a toggle between global and local modes of Lost and Found mod working.<br />When global mode is used, lost items can be found anywhere in the world.<br />When local mode is used, lost items can only be found in certain amount of chunks around the place they were lost in.<br /><strong>Check the mod config for more information </strong>(see the spoiler below).</p> <div class="spoiler"> <div class="spoiler-toggle">Mod Config</div> <div class="spoiler-text"> <p><strong>Mod Config is server-side.</strong><br />Config file is created when player creates a world and enters it with mod LostAndFound on.<br />Mod Config can be found at %appdata%/VintagestoryData/ModConfig/LostAndFound.json</p> <p>Default contents of LostAndFound.json (for manual creation of config file or restoring original values):<br />{<br />&nbsp;"useNearbyChunksOnPanning": false,<br />&nbsp;"radiusNearbyChunksOnPanning": 8,<br />&nbsp;"useNearbyChunksOnBreaking": true,<br />&nbsp;"radiusNearbyChunksOnBreaking": 8,<br />&nbsp;"chanceOfDropOnPanning": 0.05,<br />&nbsp;"chanceOfDropOnBreaking": 0.005,<br />&nbsp;"allowVanillaDropOnPanning": true,<br />&nbsp;"allowLostItemDropOnPanning": true,<br />&nbsp;"allowLostItemDropOnBreaking": true,<br />&nbsp;"blacklistLostItems": [<br />&nbsp; "game:soil-verylow-none" // Example, look below for a table of blacklist items/blocks that you might want to add<br />&nbsp;],<br />&nbsp;"whitelistBlocksToBreakForLostItems": [<br />&nbsp; "game:soil-verylow-none" // Example, look below for a table of whitelist blocks that you might want to add<br />&nbsp;],<br />&nbsp;"allowBlacklistLostItemToBeFound": true,<br />&nbsp;"maxStackSizeToDrop": 1,<br />&nbsp;"allowItemsWithPerishTimeToBeAddedToItemPoolAndToBeFound": false,<br />&nbsp;"deleteBlacklistedItemsFromSaveFile": false,<br />&nbsp;"allowLostItemDropOnFishing": true,<br />&nbsp;"chanceOfDropOnFishing": 0.05,<br />&nbsp;"useNearbyChunksOnFishing": false,<br />&nbsp;"radiusNearbyChunksOnFishing": 8,<br />&nbsp;"minSecondsInWaterForFishingDrop": 10.0<br />}</p> <p>Comments:<br /><strong>useNearbyChunksOnPanning</strong> - use local or global mode on panning. If true, players can only pan out lost items in radiusNearbyChunksOnPanning around the chunk they are currently in.<br /><strong>radiusNearbyChunksOnPanning</strong> - amount of chunks from the chunk the player is currently in. It is used when local mode on panning is on.<br /><strong>useNearbyChunksOnBreaking</strong> - use local or global mode on block breaking. If true, players can only find lost items via block breaking in radiusNearbyChunksOnBreaking around the chunk they are currently in.<br /><strong>radiusNearbyChunksOnBreaking</strong> - amount of chunks from the chunk the player is currently in. It is used when local mode on block breaking is on.<br /><strong>chanceOfDropOnPanning</strong> - chance of a lost item drop on panning.<br /><strong>chanceOfDropOnBreaking</strong> - chance of a lost item drop on block breaking.<br /><strong>allowVanillaDropOnPanning</strong> - allow the game to drop it's own item as well as the lost item. If true, if a lost item was found by a player, there is an ingame chance that an item from the game's pool will also spawn in as in vanilla.<br /><strong>allowLostItemDropOnPanning</strong> - allow drop of the lost item on panning. If you don't want lost items to drop on panning, set to false. If false, vanilla code will not be affected by allowVanillaDropOnPanning.<br /><strong>allowLostItemDropOnBreaking</strong> - allow drop of the lost item on block breaking. If you don't want lost items to drop on block breaking, set to false.<br /><strong>blacklistLostItems</strong> - an array of items' code domain:path. Items that are present here will not be added to the global hidden pool of items but can still be found by players if they were in the save file before you added them to the blacklistLostItems.<br /><strong>whitelistBlocksToBreakForLostItems</strong> - an array of blocks' code domain:path. Blocks that are present here will be used for the block breaking to work.<br /><strong>allowBlacklistLostItemToBeFound</strong> - allow getting of the lost item without checking if it's blacklisted. If set to false, it will not drop this item. Also if there were lost items saved in the save file, and then you add them to blacklist and set this parameter to false, saved lost items will not be deleted from file (not in the case of deleteBlacklistedItemsFromSaveFile being true). Could be useful if you want to allow getting of a certain saved item after some time, like allow drop of copper tools in copper age and so on.<br /><strong>maxStackSizeToDrop</strong> - maximum stack size of lost item dropped. Chances of dropping certain amount are equal to 1/maxStackSizeToDrop.<br /><strong>allowItemsWithPerishTimeToBeAddedToItemPoolAndToBeFound</strong> - allow perishable items to be added to the item pool and to be found. If set to false, perishable items that are already present in the save file, will not be deleted from save file (not in the case of deleteBlacklistedItemsFromSaveFile being true).<br /><strong>deleteBlacklistedItemsFromSaveFile</strong> - allow deletion of all the blacklisted items from the save file when the next world save happens (or /autosavenow called). If allowItemsWithPerishTimeToBeAddedToItemPoolAndToBeFound is set to false, perishable items will also be deleted from save file.<br /><strong>allowLostItemDropOnFishing</strong> - allow drop of the lost item on

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.