I have little proposition for bpl13:
Currently CAN_SEE_OBJ is working very strange in some situations:
for example, if you stand in the dark and want to light an lantern - you can't
see it!
If you want to get bread from your own bag and eat it - you can't do it too.
If you want to remove chainmail from your body or stop using weapon - the
same. :(
I think characters must have ability to manipulate with their own items in
dark except some commands like read or recite.
In my MUD I use this piece of code for recognizing char's private items: (add
it to CAN_SEE_OBJ):
#define PRIVATE_OBJECT(sub, obj) ( ((obj)->carried_by && (obj)->carried_by ==
sub)\
|| ((obj)->worn_by && (obj)->worn_by == sub) \
|| ((obj)->in_obj && \
( ((obj)->in_obj->carried_by && (obj)->in_obj->carried_by == sub) || \
((obj)->in_obj->worn_by && (obj)->in_obj->worn_by == sub)) ) )
I want to hear what other coders think about this change.
Andrey (andrey@alex-ua.com)
aka Zmey//RMUD
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST