You have been taken by the Mists

Author Topic: Bashing a chest makes its remains disappear  (Read 908 times)

haifisch021

  • Undead Master
  • ****
  • Posts: 256
Bashing a chest makes its remains disappear
« on: August 21, 2018, 05:21:24 PM »
Some chests/containers in the module are destructable. Bashing a chest deals damage to the chest. Before EE, dealing enough damage to the chest would destroy the chest and leave remains behind that could be looted to collect the contents of the chest.

This is sometimes true in EE. However, I have noticed that if you succeed a bash check at the same time as destroying the chest, no remains spawn. This also occasionally happens when destroying a chest without succeeding a check but this is a rarer occurrence.
Me miserable! which way shall I fly
Infinite wrath and infinite despair?
Which way I fly is hell; myself am hell;
And in the lowest deep a lower deep,
Still threat’ning to devour me, opens wide,
To which the hell I suffer seems a heaven.

EO

  • Assistant Head DM/Developer
  • Head DMs
  • Dark Power
  • ******
  • Posts: 22404
  • The one and only, the one everyone wants to be!
Re: Bashing a chest makes its remains disappear
« Reply #1 on: August 21, 2018, 09:35:22 PM »
I'll fix it by making chests non-destroyable.

zDark Shadowz

  • Guest
Re: Bashing a chest makes its remains disappear
« Reply #2 on: August 21, 2018, 10:39:18 PM »
Is this because there's no treasure script allocated to the destroyed option of the chest object?

Does this also mean that when people 'break things' in a chest, the chest hasn't yet decided what is actually broken until the chest is open, treasure generated and X amount of items are switched out for broken objects?

Only curious on how it's been scripted, if it's like a Schrodinger's cat kind of thing instead of treasure generated when the area is loaded fresh.

Soren / Zarathustra217

  • Lead director, main scripter, nutty geek, Community Council
  • Administrator
  • Dark Power
  • *
  • Posts: 12979
Re: Bashing a chest makes its remains disappear
« Reply #3 on: August 25, 2018, 05:24:15 AM »
It's quantum mechanics all the way! The reasoning is performance - already a lot being done at once every time an area inits.

But yeah, chests simply shouldn't be destructible.

EO

  • Assistant Head DM/Developer
  • Head DMs
  • Dark Power
  • ******
  • Posts: 22404
  • The one and only, the one everyone wants to be!
Re: Bashing a chest makes its remains disappear
« Reply #4 on: September 06, 2018, 09:00:39 PM »
Treasure containers should now all be invulnerable. Can anyone test?