View Full Version : Theme Extensions and Tokens
ShotGun Jolly
March 25th, 2016, 18:27
One question..
Is it possible to add particular tokens you would like to use in a theme.ext so when you load up the theme it automatically adds the tokens to either the shared or host folder? Same as it would if I was to make a module?
If yes, can you send me an example on how it would be coded please?
Thanks
Trenloe
March 25th, 2016, 18:34
Nope, you can't have tokens, or images, in extensions - they have to be in modules. The most you can have, as far as graphics go in an extension, is icon (https://www.fantasygrounds.com/refdoc/icon.xcp)and frame (https://www.fantasygrounds.com/refdoc/framedef.xcp)resources, but these are static and can't be used for tokens.
ShotGun Jolly
March 25th, 2016, 19:14
Ok, so really, a ruleset is what I really need to start working on, which will contain most of the works, and then a module to go with it.
Thanks Trenloe!
damned
March 26th, 2016, 00:16
Well even a ruleset with a module requires the module to be activated separately so a theme and a module isnt much different...
Trenloe
March 26th, 2016, 01:07
What's interesting is that the Savage Worlds ruleset comes with a tokens folder built into the ruleset .pak file. They appear in the tokens window in a "ruleset" bag. I only confirmed this today, and I'm now travelling, so didn't have time to check if it is generic or if there is some Ikael magic code in there somewhere...
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.