Aced Shops
#1
Aced Shops
Version: 1.0
Initial development began 5-16-2026


Introduction

This script lets one set up shops that may limit interactions. In general it permits these functions:
  • Can make a store that only buys from the player or only does sales.
  • Can restrict items sold to inddividual stores based on the item IDs
  • Can set up a store to have custom prices for certain items
  • Can limit the availability of items to a store until restocked.



Script

script


Instructions
On this release, I was barebones on instructions. I will return later with more instructions.



FAQ

This was per a request by Ace_V, said request and development found here:
https://www.save-point.org/thread-13478-lastpost.html

While development began initially with RPG Advocate's Buy Only/Sell-Only script, little of it even remains.



Compatibility

Performs several rewrites throughout the shop system.


Terms and Conditions

Free for use, even in commercial games. Only due credit is required.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply
#2
I'm encountering an error  Happy with a sweat


Code:
Script 'ACED SHOPS' line 538: NoMethodError occurred.
undefined method 'has_key?' for nil:NilClass



This is the line:
Code:
    unless $game_system.acev_shop_limit.has_key?(key) # If key not defined

Seems it's also affecting default/regular shops that don't use script calls.  Sweat
[Image: SP1-Writer.png]
[Image: SP1-PixelArtist.png]
Reply
#3
That line pertains to the existence of $game_system.acev_shop_limit. That is a variable that is created when you start a new game. If you are encountering an issue where it says that variable does not exist, then you are not running this from a new game but an already existing save file.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply
#4
(4 hours ago)DerVVulfman Wrote: That line pertains to the existence of $game_system.acev_shop_limit.  That is a variable that is created when you start a new game.  If you are encountering an issue where it says that variable does not exist, then you are not running this from a new game but an already existing save file.

Laughing My bad! Yes, I did indeed try it from an older save! (Previous one worked on an old save so I assumed this would be OK, too  Laughing)
[Image: SP1-Writer.png]
[Image: SP1-PixelArtist.png]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
   I ACED THIS BATTLER INVULNERABILITY DerVVulfman 1 3,303 05-21-2025, 06:30 AM
Last Post: Ace_V
   Buy-Only and Sell-Only Shops RPG Advocate 2 10,195 12-12-2009, 08:50 PM
Last Post: DerVVulfman



Users browsing this thread: 1 Guest(s)