• Posted by : LiTTleDRAgo Mar 17, 2013

    [Image]
    Explanation

    In this shop, you can only buy items at limited amount before it is sold out
    If you want to buy the same item, you must visit another store


    How To Use

    To use it, go to script command and put
    Script : 
    $limited_shop = {
       0 => ['i1','i2','i3','i4'], # This means item 1,2,3,4 didn't have limit
       1 => ['w1','w2','a1'],      # This means weapon 1,2 and armor 1 can be
                                   # bought only 1 times
       2 => ['a2'],                # This means armor 2 can be bought 2 times
     
       # The Feature Below can be disabled by setting SHOP_HAS_GOLD into false
       'G' => 3000                 # This means the shop is have 3000 gold 
                                   # If shop only have 0 gold, you can't sell anything
                                   # Can be disabled in script
     }

    [Image]

    Sorry this script is currently bugged, you can look for v2 here

    { 4 comments... read them below or Comment }

    1. If I enter the Shop and buy a Limit Item, it disapear. But If I enter the shop again, the Limit item apears again.
      How is it possible to Limit the item ever?

      ReplyDelete
      Replies
      1. can you tell me what script call did you use?

        Delete
      2. I was having the same problem. The shop simply didn't save how many items were purchased, and always reset to full stock when the player exits and comes back. Here was the only command in my event:

        $limited_shop = {
        2 => ['i22']
        }

        Basically, you HAVE to set the gold for the shop when you call it. Like this:

        $limited_shop = {
        2 => ['i22']
        'G' => 0
        }

        Delete
      3. can you use this instead? : http://littledrago.blogspot.com/2013/05/rgss-drg-limited-shop-v2.html

        currently I didn't have the time to update the script

        Delete

  • Copyright © 2013 - Hyperdimension Neptunia

    LilGamers - Powered by Blogger - Designed by Johanes Djogan