#trying to use assigned value in text for an interaction

1 messages · Page 1 of 1 (latest)

low quartzBOT
#

@noble cloud

maydayp Uploaded Some Code

I use win 10, but the game works on everything afaik. writing in JavaScropt.
So, I have the majority of the code working, it just is currently generating 0-4 kids, rather then 1-5 kids and not adjusting the cost. I am assuming I can change i = 0 to i = 1and that will take care of that. But what I would really like to do is have the value ofi` show up in the text so the user knows how many children are being generated. (this is for a family dynasty game called citizens of rome)
for data base type information I think this will explain it better then I can (the dev's github)
https://github.com/CitizenOfRomeDynastyAscendant/example-mods
"The game uses JavaScript (VueJS + VueX + custom stuff) that is run in a browser-like environment internally, and so mods are written with JavaScript"

Uploaded these files to a Gist
noble cloud
#

I figured it out, I was over thinking it, just needed to do + i +
/closed