Save-Point
Buy-Only and Sell-Only Shops - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: Buy-Only and Sell-Only Shops (/thread-2755.html)



Buy-Only and Sell-Only Shops - RPG Advocate - 03-03-2008

Buy-Only and Sell-Only Shops
by RPG Advocate
saved from Phylomortis.Com


Introduction
This script lets you call shops that only allow buying or selling. The default shop type is a normal shop that allows both buying and selling. To get a shop that only allows buying or selling, you need to directly change the value of the variable $game_temp.shop_type using the "Script" event command. Valid values are 0 for a normal shop, 1 for a buy-only shop, and 2 for a sell-only shop. $game_temp.shop_type will automatically be changed back to 0 once the shop is cancelled.


Demo
>Click<


Script
Buy-Only and Sell-Only Shops



Buy-Only and Sell-Only Shops - explocion200 - 12-12-2009

how can i remove the text that displays saying "You can only but or sell in this shop"


Buy-Only and Sell-Only Shops - DerVVulfman - 12-12-2009

*Shrugs*

Just go to that line in the script and change it to whatever you want.