public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers
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: Shop Reduction
  • Original author: Feelzor
  • Original date: July 28, 2018
  • Source thread: https://forums.rpgmakerweb.com/threads/shop-reduction.98267/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)

Summary

Shop Reduction v1.0.0 By FeelZoR​ Free to Use for both Commercial and Non-Commercial projects. Credits not required but highly appreciated.

Archived First Post

Shop Reduction v1.0.0
By FeelZoR

Free to Use for both Commercial and Non-Commercial projects.
Credits not required but highly appreciated.

You can find a more in-depth version of the TOS here.


Introduction
This plugin allows you to change the prices of shops during the game, globally or just for a specific shop, which can be useful for friendships and such things.

Features
  • Create price changes for items sold by shops, globally or on a per-shop basis.
  • Create price changes for items sold by the player, globally or on a per-shop basis.
  • Global rule taken in account even if there is a rule specific for the shop, and applied after it.
  • Only one global rule, creating another one will erase the previous one.
How to Use
After installing the plugin, everything is set up, you just need to use plugin commands!

Reduction ADD:

This command allows to change the price of items sold / bought.

Usage: Reduction ADD <shop> <action> <formula>
Shop: can be either global, this or the id of the event that will show the shop.
“global” is used to change the prices of ALL the shops, and is applied after the per-shop price modifications.
“this” is a shortcut that targets the current event.
If you use the id of the event, you should also specify the id of the map. (e.g. 4 1 will target the event with id 4 in map with id 1)
Action: can be either BUY or SELL.
“BUY” will change the prices of the items the player will buy.
“SELL” will change the prices of the items the player will sell.
Formula: the formula to apply when changing the prices.
You can either add a predefined price or add a percentage.
e.g. “+5%”, “-10” will respectively add 5% to the price or remove 10 to the price.

Examples:
- Reduction ADD global BUY +10% will increase the prices of all items sold by shops by 10%
- Reduction ADD this SELL -10 will reduce the prices of all items sold by the current event by 10G (or whatever currency you use).
- Reduction ADD 14 3 BUY +10% +5 will increase the prices of all items sold by the event with id 14 in map with id 3 by 10% then add 5G more.

Warning:
There can be only ONE global rule. Using “Reduction ADD global” will overwrite any previous global rule.

Reduction REMOVE:

This command allows to remove the price changes of shops.

Alias: RESET

Usages:
- Reduction REMOVE <shop> <action> [mapId]
- Reduction REMOVE ALL (this command will remove all the changes of all events and the global changes too)

Shop: can be either global, this or the id of the event that will show the shop.
Action: can be either BUY, SELL or ALL.

“ALL“ will remove both BUY and SELL rules.
MapId: The id of the map the event is located in.
It only works when the shop is NEITHER “global” NOR “this”. It defaults on the current map.

Examples:
- Reduction RESET ALL will remove all existing rules.
- Reduction REMOVE global BUY will remove the BUY global rule.
- Reduction REMOVE this ALL will remove both BUY and SELL rules for the current event.
- Reduction REMOVE 5 SELL will remove the SELL rule of the event with id 5 in the current map.
- Reduction REMOVE 29 BUY 7 will remove the BUY rule of the event with id 29 in the map with id 7.

Demo
Demo made with RPG Maker 1.5.2 with plugin v1.0.0

Script
You can get the plugin here.

Credits and Thanks
- FeelZoR for making the plugin.

Features Mentioned

  • Create price changes for items sold by shops, globally or on a per-shop basis.
  • Create price changes for items sold by the player, globally or on a per-shop basis.
  • Global rule taken in account even if there is a rule specific for the shop, and applied after it.
  • Only one global rule, creating another one will erase the previous one.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

Free to Use for both Commercial and Non-Commercial projects. Credits not required but highly appreciated. You can find a more in-depth version of the TOS here. Introduction

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.

#rmmv#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar