Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> Price Discount at Shops, Clearance Sale! SELL ALL THE THINGS!
userjosh704
post Jan 4 2013, 02:49 PM
Post #1


I win.
Group Icon

Group: Revolutionary
Posts: 119
Type: Writer
RM Skill: Masterful




Let's say you want a store to offer a 50% Discount even though the store is stocked with common items you can buy anywhere else without every store also offering said discount. This is do-able.

DATABASE
-In your Database, duplicate the items relevant and alter their Price so that you now have "Full Price Versions" and "Discount Price Versions."

EVENT (the shop clerk offering the discount)
-Make Variables for each Item.
-SET the value of each VARIABLE to the ITEM and Number Held.
-Remove "Full Price Versions" of each item by the respective Variable
-Add "Discount Price Versions" ...
-Call Shop, stocked with "Discount Price Versions"
-SET the values of the VARIABLES again.
-Now Remove "Discount Price Versions" ...
-Add "Full Price Versions" ...

This post has been edited by userjosh704: Jan 4 2013, 02:52 PM


__________________________


Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
userjosh704
post Jan 4 2013, 07:05 PM
Post #2


I win.
Group Icon

Group: Revolutionary
Posts: 119
Type: Writer
RM Skill: Masterful




Thanks. I'm also considering an idea of International Trade where the price of goods can differ by region.


__________________________


Go to the top of the page
 
+Quote Post
   



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 23rd May 2013 - 03:32 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker