DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • March 22, 2019, 07:46:54 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Magic Gem Shop  (Read 4861 times)
0 Members and 1 Guest are viewing this topic.
zelion
Guest
« on: May 15, 2005, 02:50:30 PM »

Alright, heres my first module thats not an edit/addon.
Basicly its a shop where you can buy/sell gems.
I was trying to have it so buy/sell prices where affected by how many gems were in stock and such.
That didn't work to well, You can set the following options for it: Where the shop is located, Current Cost per gem, Current Gold received for selling, Current Gems in Stock, Current Cash in Stock, Limit of gold/gem trades per day, If stock resets on a newday, Gems in Stock on a New Day, Cash in Stock on a New Day.
Its not perfect, but it works for the most part Tongue If anyone has some ideas for it or knows how I should fix the quanity affecting cost stuff, then feel free to let me know.
I think thats all I have to say about it >.>
http://dragonprime.net/users/zelion/mgs.zip
« Last Edit: May 15, 2005, 02:58:07 PM by zelion » Logged
zelion
Guest
« Reply #1 on: May 16, 2005, 09:11:26 AM »

Don't everyone rush over here right away x.x;;
I know that alot of people thing gemshops are a bad idea, but you can set mine to have no gems in it till people sell them, and set the buy/sell prices. So the way I see it, its a good addon Tongue and if you set it up how you like it won't see like its cheating Tongue
Also, yeah theres people on my server who want to sell gems lol.
Logged
chicu
Guest
« Reply #2 on: May 16, 2005, 09:13:09 AM »

thers just one problem, there are much more gemshops in here, for examble "vessas gem shop".
so i think the most of us probably have an gemshop.
And your shop has all the same like the other...

but I think i'll test your module
« Last Edit: May 16, 2005, 09:19:23 AM by chicu » Logged
zelion
Guest
« Reply #3 on: May 16, 2005, 09:19:51 AM »

So everyone else has a gemshop, where the prices change when gems are bought and sold? If so let me know which do, so I can one up them with some more dazzling crap Tongue
Logged
chicu
Guest
« Reply #4 on: May 16, 2005, 09:21:16 AM »

i think so. and these who have none , i really believe they d not want to have one.
i am testing yours

edit:
hmmm... its not all the same but its still like the other gemshops
edit 2:
but.. , i have to say, good work zelion
« Last Edit: May 16, 2005, 09:26:19 AM by chicu » Logged
Elessa
Faerie
Mod God
*****
Offline Offline

Posts: 3598


short, sweet and to the point


View Profile
« Reply #5 on: May 16, 2005, 09:32:43 AM »

So everyone else has a gemshop, where the prices change when gems are bought and sold? If so let me know which do, so I can one up them with some more dazzling crap Tongue

actually,i am not aware of gem shops with price fluctuation designed to support a supply and demand economy for version 1.0.x.

granted, there will be another one in addition to thine as soon as sichae finishes converting strider's dwarven hold from .9.7 which is more expansive than just a gem shop.

Logged

Uuma ma ten rashwe, ta tuluva a lle

Play the latest beta version here on LoGD DragonPrime - Axebridge
zelion
Guest
« Reply #6 on: May 16, 2005, 09:40:16 AM »

The supply and demand isn't super great, but it does give a real feeling to it, I should add in more options. So you can change the ammount of change. Also I realize now that my head is not POUNDING from being beat with allergies, That I didn't really add an atmosphere to it >< Its still basicly in testing and debug modes. I'll get around to having it all pretty soon enough Cheesy
Logged
heywood
Guest
« Reply #7 on: October 03, 2005, 10:25:33 AM »

I'll give it a shot too.. always looking for new stuff.
Logged
Deedee
Guest
« Reply #8 on: December 11, 2005, 10:38:37 PM »

In my 1.0.3 game I had to change line 154 to get past a blank page return on a test to see how it responded to the lack of gems to sell from ($gems=0) to ($gems<1) and that seemed to fix it up.

Still testing other scenarios, but that's all I've got so far with feedback, other than it was a cool idea to shift the prices around and I like the limits and admin choices so far.

I looked around for other gem shops but haven't really seen any.  Looked for the "hold" mentioned above and couldn't find it either, so I was happy to at least find this little gem. (Pun unfortunately intended)

« Last Edit: December 11, 2005, 10:39:03 PM by Deedee » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
24 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search