Thread: CoreRPG Coins Weight
-
June 7th, 2021, 23:46 #41bmos' extensions
he/them
-
June 8th, 2021, 09:27 #42
- Join Date
- Jan 2017
- Posts
- 10
-
June 8th, 2021, 10:59 #43
If you follow the link in the readme that goes to coinweight.lua, you'll see this:
Code:if sRuleset == "3.5E" or sRuleset == "PFRPG" or sRuleset == "PFRPG2" then -- aDenominations['mp'] = { ['nValue'] = 500, ['nWeight'] = .3 } -- Asgurgolas' Mithral Pieces (homebrew) aDenominations['pp'] = { ['nValue'] = 10, ['nWeight'] = .02 } aDenominations['gp'] = { ['nValue'] = 1, ['nWeight'] = .02 } aDenominations['sp'] = { ['nValue'] = .1, ['nWeight'] = .02 } aDenominations['cp'] = { ['nValue'] = .01, ['nWeight'] = .02 } -- aDenominations['op'] = { ['nValue'] = 0, ['nWeight'] = .02 } -- Zygmunt Molotch (homebrew) -- aDenominations['jp'] = { ['nValue'] = 0, ['nWeight'] = .02 } -- Zygmunt Molotch (homebrew) elseif sRuleset == "5E" then aDenominations['pp'] = { ['nValue'] = 10, ['nWeight'] = .02 } aDenominations['gp'] = { ['nValue'] = 1, ['nWeight'] = .02 } aDenominations['ep'] = { ['nValue'] = .5, ['nWeight'] = .02 } aDenominations['sp'] = { ['nValue'] = .1, ['nWeight'] = .02 } aDenominations['cp'] = { ['nValue'] = .01, ['nWeight'] = .02 } elseif sRuleset == "4E" then aDenominations['ad'] = { ['nValue'] = 10000, ['nWeight'] = .002 } aDenominations['pp'] = { ['nValue'] = 100, ['nWeight'] = .02 } aDenominations['gp'] = { ['nValue'] = 1, ['nWeight'] = .02 } aDenominations['sp'] = { ['nValue'] = .1, ['nWeight'] = .02 } aDenominations['cp'] = { ['nValue'] = .01, ['nWeight'] = .02 } end
bmos' extensions
he/them
-
July 4th, 2021, 19:58 #44
- Join Date
- Mar 2020
- Posts
- 7
Not to sure if this had been posted. But i am currently using v1.5 and when I import a character, it give this error.
Code:[7/5/2021 2:57:56 AM] EXTENSION: Coin Weight v1.5:\rCalculates coin weight by leveraging the existing inventory weight process. [7/5/2021 2:57:56 AM] MEASURE: LOAD - PART 2 - 1.1142007 [7/5/2021 2:58:03 AM] [ERROR] Handler error: [string "scripts/coinweight.lua"]:48: createChild: Invalid argument 1 [7/5/2021 2:58:03 AM] [ERROR] Handler error: [string "scripts/coinweight.lua"]:48: createChild: Invalid argument 1 [7/5/2021 2:58:03 AM] [ERROR] Handler error: [string "scripts/coinweight.lua"]:48: createChild: Invalid argument 1 [7/5/2021 2:58:03 AM] [ERROR] Handler error: [string "scripts/coinweight.lua"]:48: createChild: Invalid argument 1 [7/5/2021 2:58:03 AM] [ERROR] Handler error: [string "scripts/coinweight.lua"]:48: createChild: Invalid argument 1
-
July 4th, 2021, 20:52 #45
try this build:
https://github.com/bmos/FG-CoreRPG-C...eases/tag/v1.6bmos' extensions
he/them
-
July 5th, 2021, 03:14 #46
-
July 21st, 2021, 18:06 #47
I have added an ext file to the first post of this thread.
You can add this to your extensions directory and customize the included script to add your own custom denominations. These denominations will be preserved across updates to the Coin Weight extension.
If you need help with this, just ask.bmos' extensions
he/them
-
July 21st, 2021, 22:36 #48
- Join Date
- Jun 2020
- Posts
- 1
Hey bmos, thanks for providing the ext to let us add our own denominations! I had some trouble getting it to work though, but I think I found the issue and it looks like it's just a small typo. In the extension's xml, the file designation for the script is currently set to "scripts/customcoinweightdenominations.lua.lua". Once I got rid of that extra ".lua" the extension started working properly.
-
July 21st, 2021, 23:12 #49
Last edited by bmos; July 22nd, 2021 at 00:17.
bmos' extensions
he/them
-
December 15th, 2021, 05:06 #50
Hi, I realize this thread is a bit old. See that you have allowed a way to customize for denominations. We are using 5E, and using Iron, Brass, Bronze (x2 weight), Silver, Gold, and Electrum. How do we go about adding weight for the Iron, Brass, and Bronze coins? Does it require a bit of coding?
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks