Mon Ful Ir wrote:Okay, I'll put petrifaction in the "difficult" box for the moment and await improvements in the mechanics.

Since I had to make a new release anyway to fix some ugly bugs, I slipped a few improvements here in as well.
The main thing that is that you can now replace the top "hands", "portrait background" and "death" images, with the new
dsb_replace_topimages command. It takes four parameters: a character id, and then the replacements for those three images. Pass it
nil to leave the image alone, or
0 to go back to the default.
If you have loaded a
gfx.top_dead_statue to replace the skull image for when a character has been turned to stone, you can assert it like so:
Code: Select all
dsb_replace_topimages(char, nil, nil, "top_dead_statue")
To go back to the default skull:
Code: Select all
dsb_replace_topimages(char, nil, nil, 0)
Note: DSB has no way to save a reference to an arbitrary object. So, in order to allow this change to be saved, we have to specify the graphic as a
string that is used as a member of the
gfx table instead. Just keep this in mind.
If you want reference images to build your replacements, you can
grab them here.