This function has a bug. It is to be called when a container is emptied, and removes the name of the beverage that had previously been in the container. Ie, i finish my canteen of water, and no longer can I type "look water" to look at my canteen. This is all prim and proper, but the function "name_from_drinkcon()" doesn't quite just remove the name of the drink as I had thought. It simply removes the last space-delineated word in the alias list. Problems? Sure. Lets say I whip up an object with the name "leather canteen". It loads with 20/20 filled/max. Now, when I drink all 20 the container strips off that last name, and now i'm stuck with "leather". Gimme a second and I'll post a fix in a bit, less someone wants to beat me to it. PjD +------------------------------------------------------------+ | 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