On Tuesday, January 29, 2002, at 10:21 AM, Jeremy D. Helton wrote:
> New problem, I can now sac things that I don't want people to sac like
> fountains and message boards.
Try adding checks like :
if (GET_OBJ_TYPE(obj) == ITEM_FOUNTAIN || GET_OBJ_TYPE(obj) ==
ITEM_BOARD) {
send_to_char("You can't sacrifice that!\r\n", ch);
return;
}
Add in other item_types in the if-check if you need.
Sean
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
| Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT