Re: QP System

From: Max Transity (transity@bb7.betterbox.net)
Date: 02/17/00


What he means is to modify do_get and other related functions and model
the QP token after the code used to get GOLD items.

Look at objects such as "a heap of gold coins" (#6007), etc.  When you take
them, you don't get the item, you get the amount of gold specified in the
object file.  If you create a new object type (a QP token) and handle it
in the code in a way similar to the code that gets gold items and "turns
them into coins", you can implement QP tokens.

On Thu, 17 Feb 2000, Jerry Billings wrote:

> In a message dated 2/17/00 6:03:20 PM Pacific Standard Time,
> harik@chaos.ao.net writes:
>
> > Just create a new item, the quest token.  Give it to quest mobs.
> >
> >  Then you only need to modify do_get and friends to add the token value
> >  to ch->player_specials->questpoints and destroy the token.
> >
> >  Also has the advantage of letting quests be run with a simple load obj
> >  command.
>
>
> Hrmm I'm trying to understand what you mean here...the token gives you a QP
> point and then disapears as soon as you take it from the mob? if this is the
> case i'll need some pointers on what to change in do_get and what is friends?
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
>           5th Dimention -- 5d.dynip.com:4000   http://5d.dynip.com/5d
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
>      +------------------------------------------------------------+
>

--------------------
      Max Transity
      Managing Partner
      The UNiVERSE
   -----------------------


     +------------------------------------------------------------+
     | 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 : 04/10/01 PDT