Help - Search - Members - Calendar
Full Version: Changing in game vocabulary (solved)
RPG RPG Revolution Forums > Scripting > Script Development and Support > Script Requests
LostSamurai
Hello,

I was wondering if it is possible to modify the vocabulary section mid game via script or eventing? Specifically I would like to be able to change the name of currency from "Gold" to "Skill Points," and back from "Skill Points" to "Gold." during certain events mid game (ie: when the player goes to the skill shop)

Is this possible? I feel like it must be, but I do not lack the scripting skills to make it happen.

Please help smile.gif
thatbennyguy
Unrelated, but why would you want to spend gold as skill points? Wouldn't that create confusion as to what is skill points and what is gold? If you wanted to have separate entities for both skill points and gold, you could create another window in the menu screen displaying your skill points as separate to gold... but otherwise I would suggest using gold to buy skills? (if they are equal)
LostSamurai
The player is technically not spending gold as skill points. I have "skill points" stored as a variable, which I swap out with the gold when I use the skill shop. The player's gold gets stored in a variable temporarily and their "money" becomes equal to the skill points variable for the sake of using the skill shop script that I have, which calls for "spending gold to buy skills." Once the script ends, your remaining skill points are stored in a variable again and the player's money is restored. They are two separate entities, but because of the script that I am using, they both call for occasional use of the "Gold" slot. Therefore, I want to be able to change the word "Gold" to "Skill Points" so the player isn't confused.

Like this:
Money -> Gold Variable
Skill Points Variable -> Money
Open Skill Shop
Money -> Skill Points Variable
Gold Variable -> Money

I've done something similar to this before, with the casinos in my games. There was an Item called game tokens in Ikode 1 and a variable called casino points in Ikode 3 and I had shops which exclusively used those currencies. However, those shops also called those currencies "Gold." I never figured out how to fix that, I really want to do so.

It might not make sense, but it is tested and it works. The only thing that's missing is the ability to call gold "Skill Points" at certain times.
Thallion
This should work.
CODE
$data_system.words.gold = "Skill Points" # put in whatever text you want here

LostSamurai
Fantastic. Thank you very much smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.