room_rental.c

Uploaded: 30 Jul, 2009
Previous uploads by this submitter: 0

Author: Hades_Kane

Downloads: 55

This was written as a replacement for program driven Inns/Innkeepers. I've seen other room rental systems, but they all lacked enough options for me. What it allows is for a player to go into a room and type rent and they will have the option to rent the room out as a single (temporarily flags the room to solitary) for a base amount of money, a double room (flags to private) for a higher cost, or an "all" room which has no person limit and charges an even higher cost. In addition, a smaller amount of money is charged every tick they are in the room and have it rented. All of the prices are also adjusted according to the player's level in order to keep the prices scaled to level and a worthy money sink.