Xyvius
December 29th, 2022, 04:38
Hello All. First let me say that as a returning user of FG I am glad to see the community is still actively helping one another. This feels welcoming, like putting on an old pair of comfy socks on a cold night. Anyway.. Thanks for that.
I have a related question to the above topic in the title but have been unable with all my lurking and searching over the last few days to find an answer.
I have a home-brew world that I am currently exploring with my players using 5e, I have enough custom content and rules that I have decided to give making an extension and corresponding module (for the things that extensions don't handle) a try. This is in its early stages and I am new to both XML and LUA. My question comes down to the following; I would like for any new campaigns I create for this world in FGU to have all the basic things preloaded (like custom languages, coins, etc.) so that I don't spend time entering these items in over and over every time a new campaign starts. I figured out the languages and fonts without much trouble, as I had dealt with that in classic, but I am having issues getting the custom coins to load upfront.
I have dropped the following text:
GameSystem.currencies = {"AS";"CP";"GP";"PP";"SP";"TS"}; into the LUA code and it populates the fields upon creation as you would expect, but i can't seem to nail getting the weights (or values) in also. I expect it is a lack of understanding of the structure on my part, but I would appreciate a push in the right direction.
Thanks so much in advance,
Xyvius
I have a related question to the above topic in the title but have been unable with all my lurking and searching over the last few days to find an answer.
I have a home-brew world that I am currently exploring with my players using 5e, I have enough custom content and rules that I have decided to give making an extension and corresponding module (for the things that extensions don't handle) a try. This is in its early stages and I am new to both XML and LUA. My question comes down to the following; I would like for any new campaigns I create for this world in FGU to have all the basic things preloaded (like custom languages, coins, etc.) so that I don't spend time entering these items in over and over every time a new campaign starts. I figured out the languages and fonts without much trouble, as I had dealt with that in classic, but I am having issues getting the custom coins to load upfront.
I have dropped the following text:
GameSystem.currencies = {"AS";"CP";"GP";"PP";"SP";"TS"}; into the LUA code and it populates the fields upon creation as you would expect, but i can't seem to nail getting the weights (or values) in also. I expect it is a lack of understanding of the structure on my part, but I would appreciate a push in the right direction.
Thanks so much in advance,
Xyvius