Whether it would be experience or money , you should be able to invest and earn rewards at X intervals , loot , currency , experience even party members. So invest lets say 100 Gold , and at the end of the day you would earn , 10 Experience , you would earn 10 experience continually at the end of the day until you sell that stock . If you have any questions about the idea just ask.
Factor Tycoon
JS Plugin RequestsYou can make it with a common event.
Have two variables. One is for stock value and another is for the amount of stocks you've purchased. That way you can make the stock value fluctuate depending on conditions (maybe leveling up, obtaining certain items, defeating certain bosses, and maybe something that happens more often).
The common event will count time passing, and then each cycle it adds a certain amount of experience or gold. Then it could check for certain milestones. Let's say for example your stocks total value (amount x price) is 1000, you get a Great Potion. It then sets a new variable to 1 so it doesn't give you the potion again.
In the end I think it could look like this.
<> Wait: 900 frames (there are better ways to do waiting but anyway I'm keeping it short)
<> Variable operation: [stockTotalValue] = variable [stockValue]
<> Variable operation: [stockTotalValue] *= variable [stockAmount]
<> Change money: variable [stockTotalValue] add
<> Variable operation: [stockValue] -= 1 (this is automatic devaluation to compensate a little)
<> Commentary: Now here goes each milestone. First check is for how much the stock total value needs
: to be,second one is a tracker for the milestones obtained. As long as you order them
: from smaller to higher this should work fine.
<> Conditional branch: variable [stockTotalValue] >= 1000
<> Conditional branch: variable [stockMilestone] < 1
<> Change items: Great potion add 1
<> Variable operation: [stockMilestone] = 1
:End
:End
(...)
<> Conditional branch: variable [stockTotalValue] >= 1000000
<> Conditional branch: variable [stockMilestone] < 27
<> Change group: MrBucks add (initialize)
<> Variable operation: [stockMilestone] = 27
:End
:End
For leveling up it probably will need a plugin (add a line in the level up method), or something that checks each character's level each frame and verifies it raises (it's kind of complicated that way and needs lots of variables :V, I know because I did something like that with events to make characters heal all after leveling up).
As for items or defeating monsters, it's easy since you can do it inside their events.
I hope this gives you an idea at least, salut!
Have two variables. One is for stock value and another is for the amount of stocks you've purchased. That way you can make the stock value fluctuate depending on conditions (maybe leveling up, obtaining certain items, defeating certain bosses, and maybe something that happens more often).
The common event will count time passing, and then each cycle it adds a certain amount of experience or gold. Then it could check for certain milestones. Let's say for example your stocks total value (amount x price) is 1000, you get a Great Potion. It then sets a new variable to 1 so it doesn't give you the potion again.
In the end I think it could look like this.
<> Wait: 900 frames (there are better ways to do waiting but anyway I'm keeping it short)
<> Variable operation: [stockTotalValue] = variable [stockValue]
<> Variable operation: [stockTotalValue] *= variable [stockAmount]
<> Change money: variable [stockTotalValue] add
<> Variable operation: [stockValue] -= 1 (this is automatic devaluation to compensate a little)
<> Commentary: Now here goes each milestone. First check is for how much the stock total value needs
: to be,second one is a tracker for the milestones obtained. As long as you order them
: from smaller to higher this should work fine.
<> Conditional branch: variable [stockTotalValue] >= 1000
<> Conditional branch: variable [stockMilestone] < 1
<> Change items: Great potion add 1
<> Variable operation: [stockMilestone] = 1
:End
:End
(...)
<> Conditional branch: variable [stockTotalValue] >= 1000000
<> Conditional branch: variable [stockMilestone] < 27
<> Change group: MrBucks add (initialize)
<> Variable operation: [stockMilestone] = 27
:End
:End
For leveling up it probably will need a plugin (add a line in the level up method), or something that checks each character's level each frame and verifies it raises (it's kind of complicated that way and needs lots of variables :V, I know because I did something like that with events to make characters heal all after leveling up).
As for items or defeating monsters, it's easy since you can do it inside their events.
I hope this gives you an idea at least, salut!
Thanks for the response , might I inquire how I may have the ability to enhance the income of such an event via a price?
Original thread: https://forums.rpgmakerweb.com/threads/factor-tycoon.61414/