Thread: auto XP for Gold
-
February 11th, 2022, 14:29 #1
auto XP for Gold
a coding challenge, to come up with an extension or rule set change to automatically award Xp when a player gets given gold in a parcel
Ultimate licence
GMT Time zone-UK
brawny hook bold thug
https://discord.gg/9MHgEqV
ON DMS Guild http://www.dmsguild.com/product/2246...&filters=45680
http://www.dmsguild.com/product/2205...&filters=45680
-
February 11th, 2022, 15:22 #2---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset FGU Reference Module, or Web.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
February 11th, 2022, 16:34 #3
Ok you have to drop it into the XP tab I just tested it. It did not work on inventory drop but I had no idea this was coded in 2e. I've been manually assigning gold XP in Night Below.
https://forge.fantasygrounds.com/shop/items/199/view
Old School Essentials Ruleset
https://www.dmsguild.com/product/352...eon-Builder-5E
5e Random Dungeon Generator!
-
February 11th, 2022, 16:41 #4https://forge.fantasygrounds.com/shop/items/199/view
Old School Essentials Ruleset
https://www.dmsguild.com/product/352...eon-Builder-5E
5e Random Dungeon Generator!
-
February 11th, 2022, 16:58 #5---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset FGU Reference Module, or Web.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
February 11th, 2022, 22:53 #6
like wise i didnt know you could do it in the 2e ruleset
Ultimate licence
GMT Time zone-UK
brawny hook bold thug
https://discord.gg/9MHgEqV
ON DMS Guild http://www.dmsguild.com/product/2246...&filters=45680
http://www.dmsguild.com/product/2205...&filters=45680
-
April 28th, 2022, 15:53 #7
- Join Date
- Aug 2017
- Posts
- 72
This is very much wanted! Is anyone taking up the coding challenge?
-
April 28th, 2022, 20:02 #8
Ok guys after speaking with Celestian I took his code for 2e and modified it. basically drop your parcel onto the encounters section of your XP tab on the party sheet. It will return the "< name of the parcel > [COINS]" with the cumulative coin XP for all coins.
https://forge.fantasygrounds.com/shop/items/199/view
Old School Essentials Ruleset
https://www.dmsguild.com/product/352...eon-Builder-5E
5e Random Dungeon Generator!
-
April 29th, 2022, 20:34 #9
- Join Date
- Aug 2017
- Posts
- 72
-
April 29th, 2022, 20:45 #10
Edit. try deleting the pak file and updating again. I checked the version on the server it it was correct.
This is line 120 to 124
for _,aRate in ipairs(OSE_Tables.expForCoinRate) do
local sCoin = aRate[1];
local nReward = aRate[2];
if sCurrency:lower() == sCoin:lower() then
nEXP = math.floor(nCurrency * nReward + .5) + nEXP;
--break;
end
endLast edited by bayne7400; April 29th, 2022 at 20:47.
https://forge.fantasygrounds.com/shop/items/199/view
Old School Essentials Ruleset
https://www.dmsguild.com/product/352...eon-Builder-5E
5e Random Dungeon Generator!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks