Git Product home page Git Product logo

Comments (7)

nijikokun avatar nijikokun commented on August 11, 2024

How would you get the base for all items, manually setting them?

from iconomy.

rbos avatar rbos commented on August 11, 2024

That's the beauty of it. You set the starting price for all commodities at (say) 100 per item. In order to get coins, people sell dirt. For a while, that works great - dirt is easy to get and you get a lot of coins from it. But the price for dirt tanks real fast, until the store is buying it for 1 coin each. But hey, that's okay, cobblestone is still giving up lots of coin per item. So you sell cobblestone to get coin, until the price for cobble tanks.

Then, they take all that coin and buy expensive, desirable stuff. Diamonds, picks, brick. The prices for those correspondingly rise.

Over time, prices will reflect demand.

If something becomes more valuable, the price will rise until the price reflects the value. If something becomes less valuable, people will sell them to gain coins.

That's the theory anyway. The exact numbers would require some fiddling to get right, and you'd want to start certain things off higher than others, and maybe change around stack sizes. But I think the basic idea is sound. We could even share around our market value databases with new players to get them started with reasonable prices.

from iconomy.

rbos avatar rbos commented on August 11, 2024

inventory-based price setting would be good, too - in that case, the price is set by the stock on hand according to a certain formula. some variant on 1/x^2, so that the price goes to infinity as stock approaches zero and approaches one as the quantity approaches infinity. You'd want to set a min and max-price though, so if there's zero stock, the price is at a particular value per item.

from iconomy.

rbos avatar rbos commented on August 11, 2024

anyway - throwing out ideas, don't feel obligated! If something excites you and you think "yeah, that's awesome", or if you have a better idea, speak up.

from iconomy.

nijikokun avatar nijikokun commented on August 11, 2024

I'm not quite sure on an equation for it, I want to add it however.

from iconomy.

rbos avatar rbos commented on August 11, 2024

More and more I'm thinking that simply having long-term auctions, and letting players set their own prices, is the way to go.

from iconomy.

iKickHobbits avatar iKickHobbits commented on August 11, 2024

This, is an excellent idea! I tried very hard to create the static "shop" price list based upon what items were easiest to come by and all that. Took me a long time and it turned out horrible.

An always changing database would be awesome. It would reflect what the stock market does naturally actually. I do agree with Nijikokun as the equasion would be tough to figure out.

Perhaps something static, like for ever 100 sold, decrease the value by 1, and every 100 bought increase value by 1?

from iconomy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.