Pryaxis / TShock

☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
GNU General Public License v3.0
2.41k stars 377 forks source link

Revised Tombstone Restriction #1837

Open Marcus101RR opened 4 years ago

Marcus101RR commented 4 years ago

Feature Request Terraria 1.4 introduces graveyards which by default allow new mobs, biome, and creating functions. In the old Terraria tombstones did not provide a purpose other than spamming and making an area look ugly.

My suggestion is to revise this projectile removal system to only non protected regions (including if an overlapping region is unprotected). In other words if no single protected region exists where the projectile is created, let it live and plant itself. Otherwise kill it, with the current system tombstones are perma blocked. Meaning no normal means are possible to create graveyard boime.

Menchen commented 4 years ago

Or make NPCs drop tombstone.

bartico6 commented 4 years ago

If the player dies in a protected region and the tombstone is prevented from planting itself you could make it drop into an item instead of deleting it.

hakusaro commented 4 years ago

I looked into this and since this is like the one point in the game where the server is doing the logic checks, we probably need to put in more work to get this working.

In the interim, you can just turn off the config option that disables tombstones.

moisterrific commented 4 years ago

I think a revision is unnecessary. After playing through vanilla multiplayer, one major annoyance was having to clear up tombstones after every invasion and boss fight. We already had a permanent graveyard set up and at that point it would be undesirable to have tombstones spawning all over the arena or town.

The existing TShock config for toggling tombstones is sufficient. You can just leave it off completely and spawn in tomb stones with the item command to create a graveyard biome.

hakusaro commented 4 years ago

Could potentially make a plugin to handle rejection of tombstones in regions to allow someone to turn them on and then leave them on.