G'Day all. is this piece of code from do_drink, the calculation for how thristy the player is AFTER taking a drink from a container ?? ... if (drink_aff[GET_OBJ_VAL(temp, 2)][DRUNK] > 0) amount = (25 - GET_COND(ch, THIRST)) / drink_aff[GET_OBJ_VAL(temp, 2)][DRUNK]; else amount = number(3, 10); ... can someone elxplain it for me please? Jussy +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST