allows for direct buy OR direct sell of items at a shop. – JK_DirectShop.js

タイトル
allows for direct buy OR direct sell of items at a shop.
作者名
ヘルプ
Version 1.6

:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
Plugin Commands
:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=

DirectBuy
- This will make the NEXT shop command called a purchaseOnly shop.

DirectSell
- This will make the NEXT shop command called a sellOnly shop.

If using the plugins, they must be called each time BEFORE the shop
processing is called because the shop will "reset" after
the processing ends.

:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
Instructions for Use
:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
There are essentially 4 ways to call shops when using this plugin:

1) Call the shop normally.
-Use the ShopProcessing command just like always.
-Will work like the default shop.
2) Check purchase only on the ShopProcessing
-Will Skip the buy/sell window and go right into purchasing
3) Add PluginCommand "DirectBuy" before the shop processing command
-Will do the same as 2.
-The box for "Purchase Only" does NOT need to be ticked in order for
the plugin command to run.
4) Add PluginCommand "DirectSell" before the shop processing command
-Will skip the buy/sell window and go right into selling

:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
Updates
:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
-v1.6
Hiding unused command window from the shop scene.
Added plugin parameter for plugin compatibility
-v1.5
PurchaseOnly checkbox in Shop Processing no longer matters when
DirectSell is called. Using proper aliasing to call shop for
normal shop situations.
-v1.4
Minor fixes. If both DirectBuy and DirectSell are active, make it
normal shop processing. Should definitely be compatible with other
shop plugins now(tested with Yanfly's Core Shop).
-v1.3
Removed code that automatically handles window position, in order to
make this plugin compatible with other shop plugins, such as Yanfly's
Shop Core.
-v1.2
Renamed to JK_Directshop to reflect new features.
Added ability to "Direct Sell" items. Added plugin commands for
both DirectBuy and DirectSell.
-v1.1
Adjusted position of Gold window with Status and Buy windows, to close
The gap left behind by taking out the buy/sell option window.
-v1.0
Initial release
パラメータ
param Using Default Shop
desc Is the default Shop system being used? MUST be false if using another shop plugin!!!!
type boolean
default true
on yes
off no
ライセンス表記

紹介ページ https://forums.rpgmakerweb.com/index.php?threads/jk_directshop-skip-buy-sell-window-on-purchase-sell-only.55994/