Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Explosions and Containers
#7
I personally have always viewed this as a bit of a "bug" or rather a deficiency in the explosion code. But it's sort of annoying to do nicely as it means you'd basically need to keep a list of what you've already exploded on the current tile and then keep iterating over the tile for as long as new things keep appearing there (because you can have a container in a container in a container etc. and destruction of each of them spills the contents). I think this will have some nontrivial impact on explosion performance (because you need to iterate over the contents at least twice as opposed to current one iteration) but it'd probably be bearable. I'd welcome a PR implementing this or some other equally good or better way of handling the issue.

But also I think that the container should provide a decent amount of explosion power reduction.
Reply


Messages In This Thread
Explosions and Containers - by Garash - 06-29-2023, 09:19 AM
RE: Explosions and Containers - by Kotlol - 06-29-2023, 09:22 AM
RE: Explosions and Containers - by Lord_earthfire - 06-29-2023, 09:23 AM
RE: Explosions and Containers - by Garash - 06-29-2023, 09:35 AM
RE: Explosions and Containers - by Meggal Bozale - 06-29-2023, 09:39 AM
RE: Explosions and Containers - by LeahTheTech - 06-29-2023, 10:59 AM
RE: Explosions and Containers - by pali6 - 06-29-2023, 11:19 AM
RE: Explosions and Containers - by Kotlol - 06-29-2023, 01:57 PM
RE: Explosions and Containers - by Glamurio - 07-01-2023, 07:53 AM
RE: Explosions and Containers - by TDHooligan - 07-14-2023, 12:36 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)