- Files in Res/rules are now loaded dynamically. This allows people to add their own mods fairly easily
- also has a basic support for unlocks (does not yet allow people to create their own unlock rules, though...) - Some things are still hardcoded and should progressively move to these rules files (such as Game Type, how random decks are created, etc...) - Test suite doesn't foolishly ask you to choose a game mode (momir, etc...) anymore - UPDATE YOUR Res/rules/ folder !!!
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
include mtg.txt
|
||||
name=Momir Basic
|
||||
unlock=prx_rimom
|
||||
[INIT]
|
||||
mode=momir
|
||||
[PLAYERS]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
name=Classic
|
||||
[INIT]
|
||||
mode=mtg
|
||||
[PLAYERS]
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
include mtg.txt
|
||||
name=Random 1 Color
|
||||
unlock=prx_rnddeck
|
||||
[INIT]
|
||||
mode=random1
|
||||
@@ -1,3 +1,5 @@
|
||||
include mtg.txt
|
||||
name=Random 2 Colors
|
||||
unlock=prx_rnddeck
|
||||
[INIT]
|
||||
mode=random2
|
||||
4
projects/mtg/bin/Res/rules/story.txt
Normal file
4
projects/mtg/bin/Res/rules/story.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
include mtg.txt
|
||||
name=Story
|
||||
[INIT]
|
||||
mode=story
|
||||
@@ -1,4 +1,5 @@
|
||||
#make sure this file always looks like mtg.txt, minus the initial shuffle and draw
|
||||
hidden
|
||||
[INIT]
|
||||
mode=mtg
|
||||
[PLAYERS]
|
||||
|
||||
Reference in New Issue
Block a user