|
Post by talonos on Feb 4, 2019 17:46:41 GMT
I am making a new template for a custom card game. Everything is working fine except the keywords.
In my game file, I have the following (as a minimum viable example)
has keywords: true
keyword mode: name: core description: Core tags is default: true
keyword: keyword: Foo match: Foo mode: core reminder: bar.
statistics dimension: name: keywords position hint: 1000 script: keyword_usage(unique:true) show empty: false split list: true
But when I load up a new set, the keyword is not recognized. I put the keyword in my rules field, and it does not appear in the statistics tab. When I open up the keywords menu, the keyword is red. No custom keywords I add to a set appear in the statistics tab either. Any custom keywords I make are also red.
I suspect that I'm supposed to define what fields keywords can appear in. For example, if I put "Denimwalk" in the flavor text field of a normal magic set, it doesn't appear in the statistics tab. This implies that only the stuff in the rules text can be recognized as a keyword. How do I do that in my game's template? Why does my keyword appear as red in the keywords tab? What am I missing?
Thanks.
|
|
|
Post by cajun on Feb 4, 2019 19:30:18 GMT
make sure your game file has the line "include file: keywords"
if it has that then i don't know what's happening here and would need to poke around the code to try to figure out what's wrong.
|
|
|
Post by talonos on Feb 4, 2019 21:12:48 GMT
Does it have to be in a keywords file? I thought you could omit all includes if you put all the game properties in the main game file. My game definition is pretty small, so I didn't bother using includes. Do you mean poke around the MSE source code? Or poke around my game definition file? Because I can post the latter, if you want; again, it's pretty small.
|
|
Sensei Le Roof
1/1 Squirrel
I was interested in Banding until they tried to make me play bass
Posts: 83
Formerly Known As: _________________
Favorite Card: Unhinged Forest #3
Favorite Set: TV
Color Alignment: White, Blue, Black, Red, Green, Colorless
|
Post by Sensei Le Roof on Feb 5, 2019 15:24:30 GMT
Only Magic templates get the automatic treatment.
|
|