Well this is quite easy, all the checking to do with player eq and the
rent and the time rented blah blah blah is done when a player comes back
into the game(unrenting). Anyways what you could probably do is:
The lines below should be inserted in the crashload (objsave.c) function
right after the num_of_days is calculated.
num_of_days -= 4;
if (num_of_days < 0)
num_of_days = 0;
where the 4 is number of days free.
Maximum Carnage wrote:
>
> Ok I wanted to see about modifing my rent system so that I can
> have charged rent, but make it so the first couple of dayz or so are free.
> So they way I figure this I will have to modify objsave.c to tell the
> renter that this is how the system works and than where ever rent is
> actualy collected when a player comes back on put a modifier in there so
> it takes the no-charged dayz off the days total which they rent before it
> charges them the total rent. My question is thoe does anyone know where
> the total rent is charged to the player? Thanx ahead of time and laterz.
>
> -Smillie, IMP
> MAximum Carnage
> Carnage.mudsrus.com 6669
>
> +------------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
> +------------------------------------------------------------+
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST