Skip to content

Releases: exuvo/TModTombstone

Rename to make tmod happy

06 Jan 22:41
Compare
Choose a tag to compare

Compile with new tmod

06 Jan 22:02
Compare
Choose a tag to compare
1.1.0

Fix gravestone removal multiplayer sync

Fixed gravestone removal multiplayer sync

07 Nov 18:49
Compare
Choose a tag to compare

Know issues:
Still creates gravestone when player has item that prevents dying. Can not fix.

Better error handling

06 Nov 22:48
Compare
Choose a tag to compare

Handle load errors to avoid breaking character select screen.
Fix typo preventing x coordinate being printed.

Known issues:
Still creates gravestone when player has item that prevents dying. TODO look into using Kill instead of PreKill.
Gravestone blocks for other players are not removed for you when they restore their inventory. TODO Also check other players clicking (instead of only local player) and remove their gravestone.

Improved version

26 Oct 04:38
Compare
Choose a tag to compare

Attempts to spawn the tombstone in the vicinity of where the player died. May destroy small plants to ease placement but never terrain, trees or buildings. Message with coordinates is printed in chat to help finding tombstone during high speed death. If no ground position is found it tries to place 2 dirt blocks in the air and the tombstone on top of that.

If unable to place a tombstone the player dies as normal and items are dropped on the ground.
If you die twice in the same spot it only overwrites the old tombstone if the new death inventory had more valuable items (sum of armor, accessories and inventory value). Otherwise current stuff is dropped on the ground.

Save support: the most valuable tombstone is saved with the character and restored when loading.
A message is printed on world join if a saved tomb stone was loaded with its position so you can find it if it was a while ago or the tombstone is missing (just place a new one close by where it says).