I added support for Generic mod config menu on my own and uploaded my changes to the mod creator so hopefully, he will accept the changes and everyone can enjoy it
This is what I was looking for, I don't want to play with the loss of things, I have a weapon from the Genshin mod costs 450k, and the mod for stopping time is too cheat. Loss of consciousness and wake up at home, what you need, let them take the money.
Thanks for this very useful mod ! Would it be possible to add an option to disable the mail from harvey or marlon or anyone that takes you back home after passing out ? I always finish the day passing out, and this daily mail is pretty useless... ;-)
what would be the lines to make it so I just don’t lose anyitems or money? also I’m not too sure what file I’m supposed to edit is, can you help me out?
To do what you're after you will need to set the config value "RestoreItems" to true and the config value "MoneyLossCap" to 0. These values will be found in the "DeathPenalty" section of the config when it generates. The config file can be found in the mod's folder after the game has been run with the mod installed at least once.
If anyone is using this mod with Mod Organizer 2, the config file will be generated in your Mod Organizer 2/overwrite/CustomDeathPenaltyPlus folder instead of the Mod Organizer 2/mods/Custom Death Penalty Plus folder.
I've been desperately searching for a mod that edits the after skull cavern death scene or even better completely overwrites it, as Harvey says something that is actually quite triggering for me personally (medical trauma)
would this mod be able to do that? if so what would I put in the config in order to do that?
i really just need Harvey not to say that cause it makes skull cavern really not all that accessible to me, and I just spent all this money that could have went to farm upgrades or something just to access it 😅
Sorry to hear about that! Unfortunately the mod is not capable of skipping the death event or making major edits. There are some edits that can be made to the events found in the mod's asset folder, however the potentially triggering dialogue is still hardcoded by the mod and these events only show up under specific conditions.
[Custom Death Penalty Plus] Mod crashed when editing asset 'Data/mail', which may cause errors in-game. Error details: System.Collections.Generic.KeyNotFoundException: The given key 'TheMightyAmondee.CustomDeathPenaltyPlus.MoneyLostLastPassOut' was not present in the dictionary. ?at System.Collections.Generic.Dictionary`2.get_Item(TKey key) ?at Netcode.NetDictionary`5.get_Item(TKey key) in stardewvalley\Farmer\Netcode\NetDictionary.cs:line 71 ?at CustomDeathPenaltyPlus.AssetEditor.MailDataFixes.EditEvent(IAssetData asset) in C:\Users\ameli\source\repos\CustomDeathPenaltyPlus\CustomDeathPenaltyPlus\AssetEditor.cs:line 149 ?at CustomDeathPenaltyPlus.ModEntry.<>c.<AssetRequested>b__5_0(IAssetData asset) in C:\Users\ameli\source\repos\CustomDeathPenaltyPlus\CustomDeathPenaltyPlus\ModEntry.cs:line 166 ?at StardewModdingAPI.Framework.ContentManagers.GameContentManager.ApplyEditors[T](IAssetInfo info, IAssetData asset, List`1 editOperations)
based on your code it looks like something that isn't an issue anymore after the first save but just thought I'd let you know.
43 comments
edit: downloaded smapi and this mod manually and it worked
It would be great if you could make this mod compatible with Generic Mod Config Menu.
Would it be possible to add an option to disable the mail from harvey or marlon or anyone that takes
you back home after passing out ? I always finish the day passing out, and this daily mail is pretty useless... ;-)
you help me out?
To do what you're after you will need to set the config value "RestoreItems" to true and the config value "MoneyLossCap" to 0.
These values will be found in the "DeathPenalty" section of the config when it generates.
The config file can be found in the mod's folder after the game has been run with the mod installed at least once.
would this mod be able to do that? if so what would I put in the config in order to do that?
i really just need Harvey not to say that cause it makes skull cavern really not all that accessible to me, and I just spent all this money that could have went to farm upgrades or something just to access it 😅
Sorry to hear about that! Unfortunately the mod is not capable of skipping the death event or making major edits. There are some edits that can be made to the events found in the mod's asset folder, however the potentially triggering dialogue is still hardcoded by the mod and these events only show up under specific conditions.
I hope you find something that can help you!
[Custom Death Penalty Plus] Mod crashed when editing asset 'Data/mail', which may cause errors in-game. Error details:
System.Collections.Generic.KeyNotFoundException: The given key 'TheMightyAmondee.CustomDeathPenaltyPlus.MoneyLostLastPassOut' was not present in the dictionary.
?at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
?at Netcode.NetDictionary`5.get_Item(TKey key) in stardewvalley\Farmer\Netcode\NetDictionary.cs:line 71
?at CustomDeathPenaltyPlus.AssetEditor.MailDataFixes.EditEvent(IAssetData asset) in C:\Users\ameli\source\repos\CustomDeathPenaltyPlus\CustomDeathPenaltyPlus\AssetEditor.cs:line 149
?at CustomDeathPenaltyPlus.ModEntry.<>c.<AssetRequested>b__5_0(IAssetData asset) in C:\Users\ameli\source\repos\CustomDeathPenaltyPlus\CustomDeathPenaltyPlus\ModEntry.cs:line 166
?at StardewModdingAPI.Framework.ContentManagers.GameContentManager.ApplyEditors[T](IAssetInfo info, IAssetData asset, List`1 editOperations)
based on your code it looks like something that isn't an issue anymore after the first save but just thought I'd let you know.
I've just uploaded 1.4.4 which should fix this now.