PDA

View Full Version : Need help: Extension, Savage Worlds, Card_lib.lua, pointer



Mgrancey
August 4th, 2021, 14:24
So it got pointed out that for some reason when dragged from Deck to Image for chase, that the cards were reverting to core cards. I have figured out why and what I probably need to do but been unable to find a working method.

It is found inside the ruleset .pak: scripts/card_lib.lua



local path = "ruleset/SavageWorlds/tokens/cards/"


This points to a folder where the tokens are and it is used later to build create a file location which builds an array containing all those links.
The actual folder inside FG folders is rulesets, so its not just referencing absolute or such. I have tried adding the images to the tokens file but that didn't work either.

The images are in folder currently: tokens/SWADE

So far, I have tried:


ruleset/SavageWorlds/tokens/SWADE/
ruleset/SavageWorlds/tokens/Oversized Action/
ruleset/tokens/Oversized Action/

extension/Theme SWADE OD 1_1f/tokens/SWADE/
extension/Theme SWADE Action/tokens/SWADE/
extensions/Theme SWADE Action/tokens/SWADE/

tokens@Theme SWADE Oversized Action Deck
Theme SWADE H/tokens/SWADE/
@Theme SWADE Oversized Action Deck
@Theme SWADE Oversized Action Deck/tokens/SWADE

tokens/SWADE/
token/SWADE/
tokens/Theme SWADE Oversized Action Deck/
tokens/cards/SWADE

module/card tokens/tokens/Ruleset/Oversized Action/
modules/card tokens/tokens/Ruleset/Oversized Action/


I know that if I alter that line, it breaks once I try and drop it on the image.