Mods / Selective Keep On Death

Tags: #QoL #Tweak
Author: TuckMeIntoBread
Side: Server
Created: Apr 18th 2021 at 9:49 AM
Last modified: Apr 26th 2023 at 8:17 AM
Downloads: 3559
Follow Unfollow 12

Latest release (for Vintage Story 1.18.1, outdated):
SelectiveKeepOnDeath_v2.1.4.zip  1-click install


Allows for keeping specific items upon death, rather than only dropping everything or only keeping everything.

By default, keeps bags, tools, armor, and clothing. This is completely customizeable in the settings' .json, and includes a whitelist & blacklist for specific item asset codes to respectively keep or drop. Also allows dropped items to have their durability damaged, or be deleted entirely instead of dropped in the world, if you want that extra bit of challenge.

Items are checked to be kept/dropped in the following order:

 Blacklist > Whitelist > AlwaysDiscardedInventoryTypes > KeepEverything > KeepEquippedClothing > KeepEquippedArmor > KeepArmor > KeepClothing > Keep Bags > KeepTools

 

For a full list of config options, please visit the forum post.

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
2.1.4 selectivekeepondeath 486 Apr 26th 2023 at 8:17 AM SelectiveKeepOnDeath_v2.1.4.zip 1-click install

-Updated C# Language version used

-Updated obsolete usage of RegisterCommand

-Rebuilt using v1.18.1 of Vintage Story

2.1.3 selectivekeepondeath 325 Sep 16th 2022 at 1:44 AM SelectiveKeepOnDeath_v2.1.3.zip 1-click install

Changed to Apache's Vintage Story Mod Template (.NET Framework) to fix mod loading issues. File size also drastically reduced due to this.

2.1.1 selectivekeepondeath
1.15.1 - 1.15.2
519 Jul 18th 2021 at 12:22 AM SelectiveKeepOnDeath_v2.1.1.zip 1-click install

Swapped to using Capsup's mod template as a base.

Rebuilt for 1.15.1

2.1.0 selectivekeepondeath 467 Apr 23rd 2021 at 6:43 PM selectivekeepondeath_v2.1.0.zip 1-click install

Removed debug testing command.
Added KeepOffhand config for keeping what's in your left hand item slot (lantern/torches/etc.)

2.0.0 selectivekeepondeath 455 Apr 19th 2021 at 1:06 PM SelectiveKeepOnDeath-2.0.0.zip 1-click install

Internal overhaul to try and return items to the position they used to be in.
Moved Blacklist/Whitelist to front of item checking.
Added config for randomly dropping a percentage of total kept items, by inventory type.
Added config for randomly dropping items on a per-item basis, by inventory type.
Added config for damaging tools/armor/clothing durability upon death.

1.1.1 selectivekeepondeath 430 Apr 18th 2021 at 11:21 AM SelectiveKeepOnDeath-1.1.1.zip 1-click install

Minor fix to allow the possibility to keep armor/clothing in inventory but still drop equipped armor/clothing.

1.1.0 selectivekeepondeath 427 Apr 18th 2021 at 11:08 AM SelectiveKeepOnDeath-1.1.0.zip 1-click install

Added KeepEverything boolean and AlwaysDiscardedInventoryTypes string[] to config file.

1.0.0 selectivekeepondeath 446 Apr 18th 2021 at 9:50 AM SelectiveKeepOnDeath-1.0.0.zip 1-click install

init


13 Comments (oldest first | newest first)

💬 Taurgis, Feb 10th at 5:11 AM

anyone know if this still works on 1.20?

 

💬 Telemachus, Oct 21st 2023 at 1:15 PM

Did you ever find out if it works?

Ryuu

💬 Mogadis, Aug 25th 2023 at 9:24 AM

This still working for 1.18.8 .net7? Anyone able to confirm?

💬 AzuliBluespots, May 5th 2023 at 12:01 PM

Maybe it's the server, maybe it's a setting I put in, but we were getting duplicated items in our inventory in multiplayer. It was weird. Had to revert to player corpse and I kind of didn't want that, but it's working for what I wanted at least (meaning, the dummy friends are actively avoiding death, as hard as it is in the early game. So, success.)

💬 Telemachus, May 4th 2023 at 6:24 AM

Would love compatibility with Player Corpse mod. Currently, it seems like I can't use both, as Player Corpse overrides this mod's settings. 

I'd just like to be able to have my player keep what's in their hot bar, but then drop everything else inside a container (like a grave/corpse) as opposed to simply floating around on the ground. 

💬 AzuliBluespots, Apr 26th 2023 at 11:42 AM

I'll try it, thanks a lot!

💬 TuckMeIntoBread , Apr 26th 2023 at 8:20 AM

I didn't see anything that truly broke when using the new .dll's as dependencies, but I've gone ahead and rebuilt it using the 1.18.1 version of VS. No current plans to add new features until I get interested in VS again, apologies.
If it's still not working, not sure what would be the problem. Try using a relatively default config and no other mods installed to see if it still works, and/or if anything is cropping up in the console.

💬 AzuliBluespots, Apr 25th 2023 at 4:44 PM

Ok, it's probably with quotations, but nonetheless the mod doesn't seem to be working on 1.18.x at all :( This would be a much better option than player corpse.

💬 AzuliBluespots, Apr 25th 2023 at 2:17 PM

Can someone help me? I'm trying to edit the config file, could it be possible to whitelist specific bags like the mining bag? As in, not only it carries rocks and more with more slots, but will protect things inside it that would otherwise be dropped?

Also adding stuff to blacklist and whitelist, should it be with or without quotations?

Like

*torch-basic* or "*torch-basic*" ?

💬 AzuliBluespots, Jan 7th 2023 at 9:48 AM

I'm using this to keep my friends from going sepukku-teleport-happy in our next playthrough :) We'll have bigger bags and other means of coming back, so... Yeah.

💬 Agroku, Apr 18th 2021 at 1:26 PM

Amazing, Thank You so much! I can't play enough to be replacing items all the time so I had to turn drop everything off but not having a penalty at all makes it to easy and dying just becomes a teleport home.

💬 TuckMeIntoBread , Apr 18th 2021 at 11:09 AM

@Agroku I've pushed a new version that should make that possible. Just set KeepEverything to true, then add hotbar and mouse to AlwaysDiscardedInventoryTypes. You should keep everything except for what's in your toolbar/hand.

💬 Agroku, Apr 18th 2021 at 10:03 AM

Would it be possible to make it so you only drop what's in your toolbar and hand but not your bags or their conents?

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом