Words that Cards.txt recognizes
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Words that Cards.txt recognizes
by Chris H. » 06 Oct 2009, 17:51
`zerker2000 wrote:`?{cost}?,?"tap"?: add {mana} also in progress (e.g. "W: add R", "tap: add 2", or "5, tap: add WUBRG", the first one being an easy hack-in for Sunglasses of Urza).
Should be in next version, considering Dennis now has my mana code merged into his.
I managed to build your code and played a couple of games with your mana code modifications. I like the changes that you made.
Once the next version comes out, Sloth will have a number of cards to add.

-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Words that Cards.txt recognizes
by Sloth » 06 Oct 2009, 19:10
I can't wait to test the new :add {mana} keyword. Finally the card Sunastian Falconer could be corrected (it still only adds one mana to your mana pool).
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Words that Cards.txt recognizes
by Sloth » 07 Oct 2009, 19:48
I tried the keyword
on the card Brass Secretary:{cost}, Sacrifice {card name}: Draw a card.
- Code: Select all
Brass Secretary
3
Creature Construct
no text
2/1
2, Sacrifice Brass Secretary: Draw a card.
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Words that Cards.txt recognizes
by Chris H. » 08 Oct 2009, 17:35
Keywords recognized as of MTG Forge 10-07-2009 are:
EDIT:
Some changes were recently made to this list. Please view the newer content below:
http://www.slightlymagic.net/forum/viewtopic.php?f=26&t=701&p=21847#p21847
EDIT:
Some changes were recently made to this list. Please view the newer content below:
http://www.slightlymagic.net/forum/viewtopic.php?f=26&t=701&p=21847#p21847
Last edited by Chris H. on 16 Oct 2009, 17:52, edited 2 times in total.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Words that Cards.txt recognizes
by Chris H. » 16 Oct 2009, 17:48
Keywords recognized as of MTG Forge 10-17-2009 are:
EDIT:
Some changes were recently made to this list. Please view the newer content below:
http://www.slightlymagic.net/forum/viewtopic.php?f=26&t=701&p=23095#p23095
EDIT:
Some changes were recently made to this list. Please view the newer content below:
http://www.slightlymagic.net/forum/viewtopic.php?f=26&t=701&p=23095#p23095
Last edited by Chris H. on 02 Nov 2009, 12:49, edited 2 times in total.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Words that Cards.txt recognizes
by cyclope » 30 Oct 2009, 18:05
I think you've forgotten one keyword Chris: Exalted...
- cyclope
- Posts: 69
- Joined: 28 Sep 2009, 18:08
- Has thanked: 0 time
- Been thanked: 0 time
Re: Words that Cards.txt recognizes
by Chris H. » 30 Oct 2009, 18:55
`cyclope wrote:I think you've forgotten one keyword Chris: Exalted...
Yes, I did miss one.

Thank you for pointing that out. I have added it to the listing.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Words that Cards.txt recognizes
by Chris H. » 02 Nov 2009, 12:48
See new topic located at Keywords recognized by Forge.
Last edited by Chris H. on 12 Apr 2010, 01:50, edited 6 times in total.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Words that Cards.txt recognizes
by Rob Cashwalker » 03 Nov 2009, 15:20
May I suggest:
a. The "complex keywords" be hyperlinked to their respective threads. Either in addition-to or instead-of as notes at the bottom? (leaving it for more useful notes..)
b. Because they're hyperlinked, you don't need to spell out the different forms of spDamageTgt.
c. For the abbreviated scripted keywords, add a sample of the rules text. ie: "deal _ damage to target ____"
a. The "complex keywords" be hyperlinked to their respective threads. Either in addition-to or instead-of as notes at the bottom? (leaving it for more useful notes..)
b. Because they're hyperlinked, you don't need to spell out the different forms of spDamageTgt.
c. For the abbreviated scripted keywords, add a sample of the rules text. ie: "deal _ damage to target ____"
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Words that Cards.txt recognizes
by Resonantg » 05 Nov 2009, 16:11
Could we also bold or italicize new words added for those of us trying to learn how to write cards? Help point out the new features better.
- Resonantg
- Posts: 172
- Joined: 11 Oct 2009, 16:20
- Has thanked: 0 time
- Been thanked: 0 time
Re: Words that Cards.txt recognizes
by Chris H. » 05 Nov 2009, 18:40
`Resonantg wrote:Could we also bold or italicize new words added for those of us trying to learn how to write cards? Help point out the new features better.
I spent some time trying to find a way to have the new keywords stand out from the rest. I hope that I came up with a workable solution.

We tend to add the new and modified cards to the very top of the cards.txt file. This makes it easier for people to look at the entries for these new cards, some of which will use keywords.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Words that Cards.txt recognizes
by mtgrares » 06 Nov 2009, 18:01
The list of keywords is huge. I need to write another article about keywords for my blog. Thanks to everyone that helped.
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
Re: Words that Cards.txt recognizes
by Chris H. » 13 Nov 2009, 01:45
See new topic located at Keywords recognized by Forge.
Last edited by Chris H. on 12 Apr 2010, 01:49, edited 1 time in total.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Words that Cards.txt recognizes
by Chris H. » 28 Nov 2009, 20:35
See new topic located at Keywords recognized by Forge.
Last edited by Chris H. on 12 Apr 2010, 01:49, edited 1 time in total.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Words that Cards.txt recognizes
by Chris H. » 15 Dec 2009, 19:03
See new topic located at Keywords recognized by Forge.
Last edited by Chris H. on 12 Apr 2010, 01:48, edited 1 time in total.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Who is online
Users browsing this forum: No registered users and 22 guests