Actions
Bug #226
closedprayer bead necklace has a weird message
Bug #226:
prayer bead necklace has a weird message
Start date:
01/11/2026
Due date:
% Done:
0%
Estimated time:
reported_by:
Ion
Description
It says: 'You don't notice that here.'
Updated by Hilapdatus 11 days ago
ยท Edited
It says: 'You don't notice that here.'
/domains/Forest/Ruins/obj/prayern.c
All functionality was stuffed within the object's override of CanTouch() and there is no override of LIB_TOUCH::eventTouch().
CanTouch() is expected to perform the checks to see if the touch is possible while the actually touching happens in eventTouch(). Without that override, the default LIB_TOUCH::eventTouch() was executed.
The fix was to flip things around and change the object's int CanTouch(...) to void eventTouch(...). This allows the default LIB_TOUCH::CanTouch() to be called, which simply returns 1, and have all of the object's logic called in eventTouch().
Updated by Hilapdatus 11 days ago
- Status changed from New to Closed
Actions