Page 1 of 1
Delete / Remove Items on a tile
Posted: Thu Apr 06, 2006 1:56 pm
by PadTheMad
Would it be possible to have a trigger / action or something similar to delete all of a given type of object on a given floor tile? For example if someone wanted to convert items the old fashioned way (using alcoves, relays, teleporters and shooters) there would be a tile full of wasted original objects after the conversion. I've tried using ACTION_SWAP_LOCAL but that also swaps all of the item of that type the party is currently carrying.
Posted: Thu Apr 06, 2006 2:59 pm
by beowuuf
That sounds liek a bug, action swap local should only swap fro mthe area the request came frm, right?
Posted: Thu Apr 06, 2006 8:35 pm
by Sophia
The SWAP thing is a bug, I noticed this too.
The item deleter wouldn't be necessary if SWAP_LOCAL worked properly... just SWAP_LOCAL what you want to delete with NULL in an out-of-the-way area of the dungeon.

Posted: Thu Apr 06, 2006 8:36 pm
by beowuuf
No, you swap local the item with a fireball cloud - KABOOM! : )
Posted: Thu Apr 06, 2006 8:42 pm
by Sophia
It wouldn't go KABOOM unless you swapped it with a fireball, the sound is played on conversion to the cloud. (This is also when damage is dealt)
... I think I managed to drain all the humor out of this one.
