tModLoader

tModLoader

Improved Tombstone Death Mod
59 Comments
SegFault 28 Sep @ 6:35am 
I think it is a great mod but

I found a bug when I was using "Nebulous Core" in Calamity Mod, which has the following effect:
>>> When the player reaches 0 HP, they will be revived and healed for 100 HP.

When the player reaches 0 HP, all the items are put into the tombstone, making the player barebone, which makes the Nebulous Core effectively useless.
Kasufert 7 Aug @ 12:59pm 
I found a bug where if u die to a bomb that you threw your grave gets destroyed and the items disappear
Logicon  [author] 25 May @ 4:31pm 
Not that I'm aware unfortunately. Saving and reloading the map might print it out in the console but I can't remember if that's still a thing that happens
lòiufSDBPOF 25 May @ 3:47am 
Yo hello mister logicon- i died in mysterious fashion and dont have the location which is typically left in the chat- is there a place where i can find the location of my inventory locally? (or even my inventory's contents would be fine)
slime 20 May @ 7:19pm 
W mod creators:steamthumbsup:
Logicon  [author] 20 May @ 7:18pm 
It should still work, there hasn't been a new version of tmodloader so as far as I know there's no changes needed.
slime 20 May @ 7:13pm 
Is this still working in 2025? were gonna do another run soon would be super cool to have this
I like the look of this mod, but have a question about three things.
1) could it be made so when you die in mid-air the gravestone falls to the ground like a regular one
2) options to turn off the lights on gravestones? I like my graveyards dark (also make them flickering lights)(preferably also have them off by default to make finding your grave more difficult)
3) for your grave to not always be a golden one, but a random one as usual.
Logicon  [author] 12 Jan @ 9:15am 
@slime it should still work! Unless there was a recent tmodloader update that broke mods again

@Psychotrickser there just isn't a way with the modding framework at the moment to make tombstones completely indestructible. They technically are in that you can't manually take them down but the blocks it sits on could always be destroyed and there's no way we can prevent that (at least with how the tmodloader library works right now). So unfortunately this is just how it works. The workaround is that you can place down a tombstone manually in the right spot like you had mentioned
slime 10 Jan @ 4:41pm 
Does this still work? this makes mediumcore the best way to play amazing mod:steamhappy:
Psychotrickser 22 Sep, 2024 @ 8:21am 
Love this mod. Really a must-have on every multiplayer server! :D
Just one thing... a tombstone disappeared whilst fighting Queen bee. I suspect it had been destroyed by honey turning into honey blocks after water touched it. We still managed to get the stuff back by placing down a tombstone and right clicking it just where the original one had been. This should be fixed
Nodever2 22 Sep, 2024 @ 7:27am 
This mod is fantastic and is a must have for mediumcore playthroughs IMO. Unfortunately it doesn't work with items in other loadouts (or maybe it just works with loadout 1?) as my accessories/armor in loadout 2 are dropped on the ground when I die. I hope one day those items can also be placed into the tombstone, as that would make this a lot better. Nice work though!
Logicon  [author] 2 Jul, 2024 @ 9:04am 
It should be putting every item into the tombstone. I'm assuming your mean master world extra slots maybe? If there's another mod adding more slots it may be getting ignored.

It handles it here basically:

https://github.com/Logicon211/TModTombstone/blob/master/TombstoneDeathMod2/GlobalTombstone.cs#L99

and

https://github.com/Logicon211/TModTombstone/blob/master/TombstoneDeathMod2/PlayerDeathInventory.cs#L44
lòiufSDBPOF 2 Jul, 2024 @ 3:45am 
Hey Mr Logicon, I love your mod! It works fantastically and even survived stress tests in the form of server crashes and all that jazz. My only gripe is that extra accessory slots get ignored and just get dropped. Is there any way for me to modify the mod config on my end to prevent this? even putting it in the inventory would be fine for me! :praisesun:
Zeta Arcade 25 May, 2024 @ 10:10am 
This mod mostly works fine, but do note it will apply to Softcore players too, effectively forcing them into mediumcore. Worst still, softcore players arent given their copper tools and sword back, leading to frequent softlocks for them. I made my own patched version of this for personal use that just adds a check inside of TombstonePlayer's PreKill function to see what difficulty that player is first and skips the code if its not a mediumcore player. This mod's originally functionality might still be useful though if you want to force mediumcore on a server, so if the creator sees this and decides to do the same, i would maybe suggest a config option to switch between the two.
Zeo 10 Apr, 2024 @ 4:56pm 
@Zazen Yes! On my end it still work, Terraria is still in 1.4.4.9
Grand Poo-Bah de Canadiannaise 10 Apr, 2024 @ 6:37am 
this mod up to date/still work? Sounds promising
Honor 14 Feb, 2024 @ 10:36am 
In Calamity Infernum (probably normal Calamity as well), when you die to Providence, the tombstone is completely deleted and only the two blocks will remain. I lost all of my items, along with the two others I'm playing with and had to restore. Please fix! I love this mod otherwise.

Note: it might have something to do with the arena being at the bottom-right of the large map, while our base is middle-left on the surface. Maybe unloaded the block?
brayndead 22 Nov, 2023 @ 8:08pm 
Don’t know if this is possible, but could there be an option where instead of spawning a golden tombstone, it instead saves the inventory in one of the default random tombstones instead? So just the classic way the game uses tombstones, with the added bonus of it saving your inventory on death.
Zeo 13 Oct, 2023 @ 3:26am 
@Honk Always make a backup/copy of your character somewhere after each of your play session (That's what I do to avoid worst case scenario happening)

So far I didnt had a major inventory lost or anything.
meow 12 Oct, 2023 @ 6:26am 
I've seen many mods like this come and go over the years and I've lost too many inventories to mod jank... but I'll keep an eye on it in case you somehow finally become THE GUY to figure out how to avoid the jank
Logicon  [author] 11 Oct, 2023 @ 3:52pm 
Err heads up. I guess bombs still destroy it. The flags I added only stopped manual destruction and sand destruction.

It's absolute hell to get a solid answer from anyone on the tmodloader discord about problems I'm having so I don't think I'm going to get to fixing this for a while. It's not a simple fix it seems
LordOfChickens 10 Oct, 2023 @ 10:16am 
Wonderful news! This mod is the only keeping our Mediumcore playthrough alive, and we're all too dumb to remember dangersense potions or to disarm every detonator we come across before jumping on the plunger as a joke. "Play stupid games, win stupid prizes" and all that jazz
Logicon  [author] 9 Oct, 2023 @ 2:56pm 
Updated the mod so that it prevents the blocks under the tombstone from being destroyed while it sits on top. Should prevent accidental bombs or misclicks.

I did also toy with blocking their removal while an inventory is still contained in it but I figured that might make graveyards too annoying to clear out. If that's something people want maybe I'll put that out (maybe as a separate version?)
Logicon  [author] 8 Oct, 2023 @ 4:54pm 
I managed to see this happen as well in a multiplayer game. Honestly I'm not 100% sure I can fix this due to it likely being an issue the some client/server syncup. I'll take a look at some point though
LordOfChickens 2 Oct, 2023 @ 6:20pm 
So there's a chance that dying to explosives might bug out the tombstone, as replacing a tombstone exactly where it says (or even nearby) doesn't seem to recover the items. This time it happened to someone else, but we both died from explosives (plunger, and deadmans chest) but he didn't log out, still lost his items.
LordOfChickens 1 Oct, 2023 @ 8:17pm 
Had the same issue as @Savefile, died in a spot, ended up doing the "log off server/log back on" thing to get back to spawn thinking it would be fine because of the "your not picked up tombstone with the most valuable items is saved locally" bit in the description. Luckily the items in my first loadout just dropped on the ground so I got that all back, though I assume that is unintended
savefile 24 Sep, 2023 @ 5:20pm 
There seems to be a bug in multiplayer with dedicated server where if you die then leave the server and then rejoin, the tombstone will remain but it will act as a regular tombstone and you can't reobtain your items.
Zeta Arcade 21 Sep, 2023 @ 11:26am 
Also having something so you can just drop the items from the grave rather than swapping your inventory would be good too!
Zeta Arcade 19 Sep, 2023 @ 5:24pm 
Could you add something to print into the console the location of all of someone's graves when they enter the game? Main issue i have with this mod is that if a grave is destroyed on accident, like with a bomb or it gets misplaced, and to get your stuff back you must place a grave within only 3 blocks of where you died, you might be kinda screwed for finding your stuff. If the console just prints grave locations for you or something, you can at least brute force it and check each coordinate to find ur stuff
Logicon  [author] 6 Sep, 2023 @ 8:20am 
Glad to hear :)
Zeo 5 Sep, 2023 @ 8:45pm 
He££ø Logicon!

My bad lol! You were right, I completly forgot we had to right-click them to gather back our stuff.

It works like a charm now !

Thank you so much for everything buddy !

I can finally relive a great mediumcore gameplay with friends all thanks to you and exuvo !
Logicon  [author] 5 Sep, 2023 @ 8:12pm 
Hey Zeo. You're not supposed to break the tombstone. You just need to right click on it and it should return your inventory.

You can technically still get it back by placing a tombstone back where it was and right clicking on it again
Zeo 5 Sep, 2023 @ 8:09pm 
He££ø @Logicon ! Thank you so much for your reply and your fix !

Your mod is now being detected and usable on my game's client :D

But now, sadly, I'm facing another issue click on my link it's a 20 seconds video :

https://u.pcloud.link/publink/show?code=XZqfM3VZEkcuikQQBYQWVoRaHCcY9YmSSsa7

As you can see your mod says my inventory was saved at "X" and "Y" coordinates... But when I go there and brake my tombstone none of my items did get back in my inventory resulting in my items being completely vanished.

I wish there was like a "debug/log" menu in-game to see what's happening.

Thank you for your help and sorry for the trouble buddy.

~Zeo
Logicon  [author] 2 Sep, 2023 @ 12:01pm 
Ok it was just an issue with the icon being too big. The download button is missing because you already have it downloaded. And in your mod list it's the one with the missing icon logo.

I've updated the icon now so it should appear correctly though
Logicon  [author] 1 Sep, 2023 @ 9:45am 
Oh strange. I'll take a look later today. The publish process looked like it worked fine so I'm not sure what's wrong yet
Zeo 31 Aug, 2023 @ 10:30pm 
Edit: I forgot to mention that I also tried to entirely close my game and launch it back, it's still the same.
Zeo 31 Aug, 2023 @ 10:24pm 
He££ø @Logicon!

Thank you so much for updating this great mod you made there.

But I have a little issue look :

https://media.discordapp.net/attachments/1050965268580544573/1147038095657664512/image.png?width=609&height=675

I tried to unsub and resub to your mod, to get these 3 green arrows.

Once I download your mod, these 3 green arrows goes away...

But your mod doesn't make it to my [Downloaded] mods... see what I mean :

https://media.discordapp.net/attachments/1050965268580544573/1147038298171252757/image.png?width=607&height=675

And if I try subbing to another random mod it works just fine, I don't know why it does that.

I don't know if it's just me or if others gets the same issues, but I wanted to tell you my situation right now :)

Thanks a tons again buddy!
Logicon  [author] 30 Aug, 2023 @ 6:35pm 
Just in case it wasn't clear it has been updated to 1.4.4 now
Logicon  [author] 30 Aug, 2023 @ 6:34pm 
Well I found a bit of time to figure out what the porting process was gonna be like. Not sure if the localization changes were required but they didn't work for me. There's not really any text so it's probably not needed.

In any case I gave it a quick test after updating it and it seems to work just fine. I assume all the code still works as it did before but I *can't* guarantee that. I don't have a whole lot of time to play lately so I won't be able to check for myself.

Hope it works for you guys though!
Zeo 22 Aug, 2023 @ 4:34pm 
I don't like Softcore... I prefer to play Mediumcore with friends, but jeezus it's annoying having to replace our dye, equipements, hotbar... And having our sh-ts all mixed up with our friend's stuff on the ground.

Your mod is a must for fanatics of Mediumcore, please update your great work <3 <3 <3
☁☁☁🔫🐷☁☁☁ 20 Aug, 2023 @ 9:16pm 
Wish you a happy life! If, at some point in the future, you have spare time and come back here.There's still people waiting for this excellent mod to be updated
[F1].Magnum Bear 15 Aug, 2023 @ 5:47pm 
Is it possible to get this updated soon? My buddy will only play the game if this mod works. I'm a huge fan of your stuff dropping. I think it's apart of the fun, He feels quite the opposite buttttt this mod bridges that gap.:steamthumbsup:
slime 13 Jul, 2023 @ 6:02pm 
No worries man. We're planning on a new run after the patch and would love to use this. Good luck on your search brother
Logicon  [author] 13 Jul, 2023 @ 2:08pm 
Didn't even realize there was another patch coming. I'll probably load it up at some point and update it assuming it's not too much work. I'm currently job hunting right now with a baby on the way so I'm very busy at the moment
slime 6 Jul, 2023 @ 6:02pm 
Any plans on updating this for the final tmodloader patch 1.4.4? theyre saying it will break all mods. You would be a god if you did
11clock 7 Oct, 2022 @ 8:56am 
Can this mod be updated to only affect mediumcore characters?
Logicon  [author] 7 Oct, 2022 @ 8:44am 
Ah yeah that seems to be a unique mediumcore respawn setting that is also overwritten when we save your current inventory to the tombstone.
11clock 6 Oct, 2022 @ 10:05pm 
@Logicon But I literally spawn with nothing. Not even the copper tools.
Logicon  [author] 6 Oct, 2022 @ 7:57pm 
It override's whatever difficulty setting you have turned on and treats it like a mediumcore character