How hard would it be to apply code to an inanimate object (a chest, rock or a pile of dirt) so that when you select it and click a special button it would trigger an effect of some kind (a line of text in the chatwindow/spawning item into inventory or spawning a monster)?
(I'm not saying it isn't hard, I'm just asking how hard it would be and can it be done?)
Having inanimate objects you can select and interact with could make questing and exploring more interesting.
Example: Mr Gnome wants you to go to Old Rachival to find his chest containing some papers he needs. You find the chest and click "interact", the papers pop into you inventory and a line of text in the chat tells you to return to Mr Gnome. But at the same time you opened the chest a bunch of Necroflies spawned and start attacking you.
This could be expanded to objects having lootwindows, sockets you have to put a crystal into to trigger next step, random world spawn treasurechests with rare items, special trigger-effects/animations and so on.
As it seems now most explorationquests have location triggers (walking to location z:x triggers next step) which is simple and easy, but quite dull when you think about it.
Please add your thoughts.