- 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:
wagic.the.homebrew
2011-04-23 13:24:19 +00:00
parent ba07ca2334
commit 66ad0f4694
15 changed files with 146 additions and 85 deletions

View File

@@ -1,4 +1,6 @@
include mtg.txt
name=Momir Basic
unlock=prx_rimom
[INIT]
mode=momir
[PLAYERS]

View File

@@ -1,3 +1,4 @@
name=Classic
[INIT]
mode=mtg
[PLAYERS]

View File

@@ -1,3 +1,5 @@
include mtg.txt
name=Random 1 Color
unlock=prx_rnddeck
[INIT]
mode=random1

View File

@@ -1,3 +1,5 @@
include mtg.txt
name=Random 2 Colors
unlock=prx_rnddeck
[INIT]
mode=random2

View File

@@ -0,0 +1,4 @@
include mtg.txt
name=Story
[INIT]
mode=story

View File

@@ -1,4 +1,5 @@
#make sure this file always looks like mtg.txt, minus the initial shuffle and draw
hidden
[INIT]
mode=mtg
[PLAYERS]