> I am pondering adding carts to my mud. I want to make coins have weight, and > other various economy things, and i wish to have the players work for their > cash. > The debate in my mind is to have them be > 1) a special enterable object, with a ch->in_obj obj->driver, and obj->people > and a do_drive command or > 2) to have the cart just be pulled by the person in question ch->cart and > obj->puller. > I am leaning towards maybe implementing both. I like number one because of the > extensibility options. people climbing into a portable hole and the like. I > like number 2 because of the ease of use and you can hitch your cart up to your > mount. The code I wrote for furniture was setup in such a way to support more than just ITEM_FURNITURE using it. It already has ch->in_obj and obj->people, and char_to_obj and char_from_obj can discriminate by opbject type. If you want a copy private email me. -> Ben "Pushing furniture for all it's worth" +------------------------------------------------------------+ | 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