supply (pcs.)

  • Number of items offered for sale is proportional to "shopping worth". This start at 100 and can vary between 25 and 150. Shopping worth is adjusted each tick by +5 for each fully supplied (and reasonably priced) item, -2 for each unsupplied item, and some adjustment Jik not sure of for partially supplied items.


    For example, if shop sell 10 items and you fully supply 3 of them and not supply the other 7, shopping worth will change by:


    3 x (+5) + 7 x (-2) = +1


    When shopping worth get to 150, shop offer 50% more items than originally, rounded off to integer.


    Also, each upgrade increase number of items offered by 5%, so max 10 upgrades increase number offered by 50%.

  • Zitat

    Original von JikJik not sure of for partially supplied items.


    Product was not offered at all: - 2 Points
    Product covered less than 50% for the demand: - 1 Point
    Product covered 50 75% of the demand: +1 Point
    Product covered 75 90% of the demand: +2 Points
    Product covered more than 90% for the demand: +5 Points

  • Zitat

    Also, each upgrade increase number of items offered by 5%, so max 10 upgrades increase number offered by 50%.


    This is not correct. Each upgrade increases the number of items offered by 5%, that's right. This new value is the base for the next upgrade. So a shop level 10 sells 1,05 ^10 items. That is 62,88% more than a shop level 0.


    This calculation is only valid for shops. Upgrades of other buildings increase the production by 10%. A building level 10 will produce 10%*10 = 100% more items than a building level 0.

  • As a consequence, the number of offered items in a store may never be increased.


    If the number of items is 9 or less for shopping worth of 100, then upgrading a shop will never have an effect on the item.


    Why?
    Start with a base of 9 items offered per WU.
    Upgrade your shop.
    Increase items offered by 5%. 9*(1.05)=9.45. This is rounded.
    Your new base number is 9. Your shop is upgraded to level 1.
    Repeat.
    Upgrade your shop.
    Increase items offered by 5%. 9*(1.05)=9.45. This is rounded.
    Your new base number is 9. Your shop is upgraded to level 2.


    So you cannot sell more items by upgrading if your base number of items is less than 10.


    Walter


  • Hi Walter!


    For adding the 5%, not the base number is taken but the unrounded.
    For LV1 You are right, but for lv2 it is:
    9.45*1.05=9,9225 rounded to 9
    for lv3:
    9,9225*1.05=10.418625 rounded to 10


    Hope this is right, but should be, because a lv10 toyshop sells 12 Plüschtiere (dont know engl. word) lv1 shop sells 8.


    Greetings
    Astor

    Ich möchte mit meinen Posts im Normalfall niemand beleidigen/kritisieren/anflamen/etc. sofern ich dies nicht ausdrücklich erwähne.
    Sollte ich jemandem zu nahe treten, bitte per PN darauf ansprechen, damit ich es entsprechend abändern kann.

  • Astor,


    I rechecked my test cases and you seem to be correct.
    The amount you can sell in a shop is:


    (base_amount)*(shopping_worth)*(1.05^shop_level) rounded to the nearest integer.


    The amount you can produce in a factory is:


    (base_amount)*(100 + factory_level*10)/100 rounded to the nearest integer.


    Walter