Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: KDirtyShop VX
- Original author: kyonides
- Original date: December 29, 2023
- Source thread: https://forums.rpgmakerweb.com/threads/kdirtyshop-vx.164241/
- Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSS2 Scripts (RMVX)
Summary
KDirtyShop VX by Kyonides Introduction This script allows you to alter the normal behavior of the shop scene.
Archived First Post
KDirtyShop VX
by Kyonides
by Kyonides
Introduction
This script allows you to alter the normal behavior of the shop scene.
Now you can trigger a Common Event that makes the shopkeeper ask for some extra money before allowing you to purchase or sell any item there.
Times are very difficult, and storekeepers got to do whatever is necessary to feed their poor families, you know!
IMPORTANT NOTES
The script depends on Common Events for a very good reason, namely the ability to customize it without depending too much on custom script calls.
The GUI has not changed at all, but 2 default methods have been overwritten for the sake of convenience.
This script does not alter normal shops!
If you ever forget to set the Common Event for a specific shop, it will work as an ordinary shop.
If you ever forget to set the Common Event for a specific shop, it will work as an ordinary shop.
BASIC INSTRUCTIONS
- You will need 2 Game Switches and 4 Game Variables to make this happen.
Thus, you have to setup the 6 CONSTANTS found in the KDirtyShop module below.
All of them have self explanatory names so you won't ever get confused. - Next pick a Common Event for Every Shady Shopkeeper.
- Check out the Official Demo to learn how to configure that Common Event.
- To ensure the Common Event will process the purchase or sale, use this call:
Ruby:
KDirtyShop.process!
The Constants
Ruby:
module KDirtyShop
# - Switches - #
BUY_OR_SELL_SWITCH = 10
NO_EXPLANATION_SWITCH = 11
# - Variables - #
COMMON_EVENT_VAR = 9
BUY_BASE_PERCENT_VAR = 10
BUY_EXTRA_PERCENT_VAR = 11
SELL_BASE_PERCENT_VAR = 12
SELL_EXTRA_PERCENT_VAR = 13
DOWNLOAD DEMO
Terms & Conditions
Free for Non Commercial Games Only!
If you want to go commercial, please contact me first.
It is quite inexpensive indeed.
Due credit is mandatory.
Mention the forum where you found this script.
That's it!
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
Free for Non Commercial Games Only! If you want to go commercial, please contact me first. It is quite inexpensive indeed. Due credit is mandatory.
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
1
view
Topic Summary
Loading summary...