RPG Maker Forums

I'm working on a game where the player interacts with multiple different factions, and those factions approval of the player is measured by different variables. I want to use those variables to affect the prices of the items they sell. Using Archeia's handy-dandy Script Call Collection I was able to assemble this:

goods = [[0,11,1,20*(1-$game_variables[1]/40)], [0,14,1,20*(1-$game_variables[1]/40)], [0,44,1,10*(1-$game_variables[1]/40)], [0,48,1,10*(1-$game_variables[1]/40)]]SceneManager.call(Scene_Shop)SceneManager.scene.prepare(goods, true)I chose that formula because it would result in a 25% fluctuation in price when the approval rating maxes out at +10 or -10. It all works out in theory, but when I actually run this the prices never change, even after leaving and reentering the map. Can anyone tell me why that is?

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top