Thread: CoreRPG / FG Question
-
February 7th, 2019, 21:46 #1
CoreRPG / FG Question
So, I'm wanting to create an extension to the CoreRPG that modifies the TOTL option to add the "friendly" value.
The desired results of this extension would be:
- if "friendly" is selected, totals would only be shown if a PC rolled the dice
- always show the total to the GM, even if TOTL is set to "off" - already shows the dice and the modifier, just not the roll total
- always show the total to the player if their PC rolled the dice (if not rolling in the dice tower) - already shows the dice and the modifier, just not the roll total
I've looked into ActionsManager.createActionMessage function, and I can it to work for "friendly" by checking if the rSource.sType == "pc" when the option is set to "friend". So that option works fine.
Of course "on" works fine as it normally does.
But what I can't figure out is if you set the option to "off", the player's rolls are not totaled for the GM or the Player that rolled
Is this even possible, or am I spinning my wheels?Last edited by deer_buster; February 7th, 2019 at 21:47. Reason: formatting
aka Laendra
(Discord: Laendra#9660)
Ultimate license (FGC/FGU)
Current Timezone : Central (CDT) (GMT -5)
OP: 3317036507 / 2369539
My opinions are my own and represent no entity other than myself
Extension Support Discord: https://discord.gg/gKgC7nGpZK
Extensions = risk to your gaming experience. If you haven't tested out the extensions in your campaign before your gaming session, turn them off. If you don't backup your campaigns regularly, you're doing it wrong.
-
February 11th, 2019, 04:38 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,554
You would need to override the function with the TOTL option in the ChatManager script. However, I'm not sure what the benefit of the turning off the option is; since all it does is not add the dice together, which someone can do in their head or with a calculator.
Regards,
JPG
-
February 11th, 2019, 07:08 #3aka Laendra
(Discord: Laendra#9660)
Ultimate license (FGC/FGU)
Current Timezone : Central (CDT) (GMT -5)
OP: 3317036507 / 2369539
My opinions are my own and represent no entity other than myself
Extension Support Discord: https://discord.gg/gKgC7nGpZK
Extensions = risk to your gaming experience. If you haven't tested out the extensions in your campaign before your gaming session, turn them off. If you don't backup your campaigns regularly, you're doing it wrong.
-
February 11th, 2019, 07:11 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,554
There’s no hidden information with either the total on or off. It’s just whether you want the total to be displayed or not. The total can stilll be calculated by adding the dice and modifier together.
That’s why I was asking why you would want to do that.
Regards,
JPG
-
February 11th, 2019, 13:18 #5
More for a learning exercise than anything...I thought covering all of those "requirements" would give me a better understaning of some of what is possible.
aka Laendra
(Discord: Laendra#9660)
Ultimate license (FGC/FGU)
Current Timezone : Central (CDT) (GMT -5)
OP: 3317036507 / 2369539
My opinions are my own and represent no entity other than myself
Extension Support Discord: https://discord.gg/gKgC7nGpZK
Extensions = risk to your gaming experience. If you haven't tested out the extensions in your campaign before your gaming session, turn them off. If you don't backup your campaigns regularly, you're doing it wrong.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks