Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ Dawn of Time ➜ Configuration ➜ Monetary System

Monetary System

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Polarus   Canada  (69 posts)  Bio
Date Tue 05 Nov 2002 11:17 PM (UTC)
Message
In Corinal, which is the DoT Mud I am currently developing, the races do not have much contact that doesn't end with an eviceration. I would like all the races to either have a separate monetary system, or use separate gems of some sort to represent massive amounts of gold. Is there a way to implement this fairly easy, or is it going to be a pain?

I actually have a good frined who codes working for me, so if you could tell me where to change stuff...

As for the gems, is there a way I could make them worth a lot in one area and not worth anything in another, to force people to use them as I want?

-=Flitting from Project to Project=-
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #1 on Thu 07 Nov 2002 02:50 PM (UTC)
Message
Actually, mprogs would make this very doable. Each gem would need a diff check in the prog but unless you have say 100 pc races that shouldnt be too ugly. Another option is to expand the changer act flag to cover gem handling with a value check for each gem in each town/region.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Polarus   Canada  (69 posts)  Bio
Date Reply #2 on Fri 08 Nov 2002 04:59 AM (UTC)
Message
Oooh, never even thought of that. How would you make a mob_prog like that though? I wouldn't know where to start. I have built quite a few kinds of mob_progs, but nothing like that. (ps. I have 8 pc races)

-=Flitting from Project to Project=-
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #3 on Fri 08 Nov 2002 07:34 PM (UTC)
Message
Well, the "easy" way to setup a mprog to handle this would start with a room check to determine where the mob is and within each room would be another table of ifs for each gem or whatever to determine its relative value in that region. There is also the option of designing a seperate prog for each gem to avoid the prog from getting too bulky but with only 8 races a single should be workable if slightly large. Only major potential problem comes in when chars are already near their max weight allowance and turn in a highly valuable gem and cant move but thats their own faults for being goofy.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Polarus   Canada  (69 posts)  Bio
Date Reply #4 on Sat 09 Nov 2002 02:45 AM (UTC)
Message
My problem is I just haven't done too much work with mobs. Would the mob have to be loaded with enough money to buy the gems, or use some other system? If it was a concern, i could even hack it down to 3 or 4 different types of gems.

-=Flitting from Project to Project=-
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #5 on Sun 10 Nov 2002 03:37 AM (UTC)
Message
Actually, the way money is handled, its possible to have the mob load coin as needed based on the value of the gem it is handed. Somwehere in the first 100 vnums there are obj descriptors for piles of coins. Load the necessary vnum, have the mob set the obj_value to the necessary amt of gold/silver and you have instant unlimited coin on your gem exchange mobs. I would recommend against having the mobs actually buy/sell the gems in question as you would then have to set the values of the objects and the shopkeepers would offer whatever % markup/down they are set to in their shop profiles when chars buy and sell the gems and the gems would have the same value regardless of region if you handled it with shopkeepers. It might be worth looking into having your friend write a spec_function to handle the gems since you admit to not having a lot of experience with this type of mprog.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Polarus   Canada  (69 posts)  Bio
Date Reply #6 on Sun 10 Nov 2002 04:33 PM (UTC)
Message
THanks, I'll check into this.

-=Flitting from Project to Project=-
Top

Posted by Polarus   Canada  (69 posts)  Bio
Date Reply #7 on Thu 14 Nov 2002 05:25 AM (UTC)
Message
Just one question, can a mob set an obj_value in a mob_prog? I am kinda confused. This sounds more like something in the hard code, but with DoT ya never know, I guess.

-=Flitting from Project to Project=-
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #8 on Thu 14 Nov 2002 12:45 PM (UTC)
Message
It *should* be possible with either mob oset or mpset but I've nothing developed to test this on at present to be certain.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


31,441 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.