It is currently 16 Apr 2024, 15:13
   
Text Size

import card price list

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

import card price list

Postby sky81 » 10 Nov 2022, 18:48

Hello,
I want to import the cardListPrices.txt from cache folder into Forge project. I want to be able to have it in the class "PaperCard".
But I cannot figure out where to loaded and how to do this.
I want to be able to access it in adventure mode.
I think this file is read for quest mode but i needed to be part if "PaperCard" class.

Any ideea in what class/ function to loaded?
I guess will be an object just like "rules" or "edition", right?
sky81
 
Posts: 18
Joined: 29 Jan 2021, 18:09
Has thanked: 0 time
Been thanked: 0 time

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 55 guests

cron

Who is online

In total there are 55 users online :: 0 registered, 0 hidden and 55 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 55 guests

Login Form