Adventure-Terraria-Server-Project / AdvancedCircuits-Plugin

Advanced Circuits Plugin for Terraria Server API and TShock.
GNU General Public License v3.0
8 stars 8 forks source link

Explosives Configuration #30

Closed CoderCow closed 7 years ago

CoderCow commented 12 years ago

Requires: Full Integration.

Support Explosives configuration with 5 different configuration profiles (default + 4 modifiers).

Config options: ExplosionWidth (in tiles) ExplosionHeight (in tiles) ExplosionShape (circle, rectangle) BlockDestroyMethod (destroy all blocks, destroy non bomb-proof blocks, destroy no blocks) DropDestroyedBlocks (1/0) DropDestroyedWires (1/0) DestroyWalls (1/0) DestroyWires (1/0) RemoveLiquid (1/0) PlayerDamage NpcDamage MobDamage WirePermission TriggerPermission

Ijwu commented 12 years ago

Is this dynamite, or the explosives tile? (There is a difference, dynamite is thrown.)

CoderCow commented 12 years ago

Ah, thanks for noticing - I meant Explosives indeed.

zaqen commented 11 years ago

Would it be possible to set specific shape? Like a rectangle with Height Y and Width X? Perhaps even in all 4 directions since with X/Y you can only use odd numbers since the explosive tile counts as well.

Also it could be an issue that explosives can't destroy cobalt ore, or wouldn't the be a problem since it's not an ordinary explosive?

CoderCow commented 11 years ago

Might look a bit odd, but not a big deal to add that I guess.

About Cobalt Ore well, it would be destroyed if BlockDestroyMethod is set to "remove all blocks", just as any other explosion proof block and it doesn't matter if that Cobalt Ore actually acts as a Modifier of the Explosives or not.

CoderCow commented 11 years ago

Looks like I can't implement this as I actually wanted to, I'll set this unassigned to any milestone for now.