Changed how Clue, Food, and Treasure tokens are created.

Since I can now obtain token images, the tokens should correspond to the plane and have different illustrations.
This commit is contained in:
Eduardo MG
2024-08-06 00:03:25 -06:00
parent 9ca59e9afb
commit 5629240449
4 changed files with 471 additions and 486 deletions

View File

@@ -113,7 +113,7 @@
#AUTO_DEFINE _ECHO_($cost) $cost[{$c};next upkeep] sacrifice
# Threshold
#AUTO_DEFINE _THRESHOLD_ if type(*|mygraveyard)~morethan~6 then
#AUTO_DEFINE _THRESHOLD_ if type(*|mygraveyard)~morethan~6 then
# Splice onto Arcane, not implemented
#AUTO_DEFINE _SPLICEARCANE_ movedTo(*[Arcane]|myStack):may castcard(copied noevent) target(*[Arcane]|myHand)
@@ -130,9 +130,6 @@
# Scavenge
#AUTO_DEFINE _SCAVENGE_($power) name(scavenge) counter(1/1.$power) target(creature) asSorcery
# Investigate token, Shadows over Innistrad SOI
#AUTO_DEFINE _INVESTIGATE_ token(Clue)
# Ascend, Set XLN
#AUTO_DEFINE _ASCEND_ if type(City's Blessing|mybattlefield)~lessthan~1 then transforms((,newability[if type(*|mybattlefield)~morethan~9 then token(City's Blessing^notrigger)])) oneshot
@@ -150,9 +147,6 @@
# The Ring Tempts
#AUTO_DEFINE _RINGTEMPTS_ if type(The Ring|mybattlefield)~morethan~0 then all(The Ring|mybattlefield) transforms((,newability[theringtempts:1 controller],newability[name(Chose a ring bearer) target(creature|mybattlefield) becomesringbearer])) oneshot else token(The Ring^notrigger) and!( theringtempts:1 controller and!( name(Choose a ring bearer) target(creature|myBattlefield) becomesringbearer )! )!
# Treasure token
#AUTO_DEFINE _TREASURE_ token(Treasure)
# Cast a historic spell
#AUTO_DEFINE _CASTHISTORIC_ @movedTo(*[artifact;legendary;saga]|mystack):
@@ -253,6 +247,9 @@
# Beast Token
#AUTO_DEFINE _BEASTTOKEN_ create(Beast:Creature Beast:3/3:green)
# 1/1 blue and red Otter creature token with prowess
#AUTO_DEFINE _OTTERTOKEN_ create(otter:creature otter:1/1:blue:red) and!( transforms((,newability[@movedTo(*[-creature]|mystack):1/1 ueot])) forever )!
# Citizen Token
#AUTO_DEFINE _CITIZENTOKEN_ create(citizen:creature citizen:1/1:green:white)
@@ -320,4 +317,13 @@
#AUTO_DEFINE _WHITEVAMPIRE_ create(vampire:creature vampire:1/1:white:lifelink)
# Zombie Token
#AUTO_DEFINE _ZOMBIETOKEN_ create(zombie:creature zombie:2/2:black)
#AUTO_DEFINE _ZOMBIETOKEN_ create(zombie:creature zombie:2/2:black)
# Clue Token
#AUTO_DEFINE _CLUE_ token(Clue,Clue Artifact,0/0) and!( transforms((,newability[{2}{S}:draw:1])) forever )!
# Food Token
#AUTO_DEFINE _FOOD_ token(Food,Food Artifact,0/0) and!( transforms((,newability[{2}{T}{S}:life:3])) forever )!
# Treasure Token
#AUTO_DEFINE _TREASURE_ token(Treasure,Treasure Artifact,0/0) and!( transforms((,newability[{T}{S}:Add{W}],newability[{T}{S}:Add{U}],newability[{T}{S}:Add{B}],newability[{T}{S}:Add{R}],newability[{T}{S}:Add{G}])) forever )!

File diff suppressed because it is too large Load Diff

View File

@@ -16066,7 +16066,7 @@ type=Instant
[card]
name=Bygone Bishop
abilities=flying
auto=@movedto(creature[manacost<=3]|mystack):name(Create clue) token(Clue) controller
auto=@movedto(creature[manacost<=3]|mystack):name(Create clue) _CLUE_ controller
text=Flying -- Whenever you cast a creature spell with mana value 3 or less, investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={2}{W}
type=Creature
@@ -16076,7 +16076,7 @@ toughness=3
[/card]
[card]
name=Byway Courier
auto=_DIES_name(Create clue) token(Clue) controller
auto=_DIES_name(Create clue) _CLUE_ controller
text=When Byway Courier dies, investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={2}{G}
type=Creature
@@ -21842,7 +21842,7 @@ toughness=1
name=Confirm Suspicions
target=*|stack
auto=fizzle
auto=name(Create clue) token(Clue)*3 controller
auto=name(Create clue) _CLUE_*3 controller
text=Counter target spell. -- Investigate three times. (To investigate, put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={3}{U}{U}
type=Instant
@@ -21859,7 +21859,7 @@ subtype=Aura
[card]
name=Confront the Unknown
target=creature
auto=name(Create clue) token(Clue) controller
auto=name(Create clue) _CLUE_ controller
auto=foreach(clue|mybattlefield) 1/1
text=Investigate, then target creature gets +1/+1 until end of turn for each Clue you control. (To investigate, put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={G}
@@ -27528,7 +27528,7 @@ type=Artifact
[card]
name=Declaration in Stone
target=creature
auto=all(*[-token;share!name!]|targetcontrollerbattlefield) moveto(exile) and!( token(Clue) targetcontroller )!
auto=all(*[-token;share!name!]|targetcontrollerbattlefield) moveto(exile) and!( _CLUE_ targetcontroller )!
auto=all(*[token;share!name!]|targetcontrollerbattlefield) moveto(exile)
text=Exile target creature and all other creatures its controller controls with the same name as that creature. That player investigates for each nontoken creature exiled this way.
mana={1}{W}
@@ -32570,7 +32570,7 @@ toughness=7
[/card]
[card]
name=Drownyard Explorers
auto=name(Create clue) token(Clue) controller
auto=name(Create clue) _CLUE_ controller
text=When Drownyard Explorers enters, investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={3}{U}
type=Creature
@@ -34004,7 +34004,7 @@ subtype=Aura
[card]
name=Edgewalker
auto=lord(cleric|mycastingzone) altercost(white,-1)
auto=lord(cleric|mycastingzone) altercost(black, -1)
auto=lord(cleric|mycastingzone) altercost(black,-1)
text=Cleric spells you cast cost {W}{B} less to cast. This effect reduces only the amount of colored mana you pay. (For example, if you cast a Cleric spell with mana cost {1}{W}, it costs {1} to cast.)
mana={1}{W}{B}
type=Creature
@@ -36665,7 +36665,7 @@ type=Legendary Enchantment
[card]
name=Erdwal Illuminator
abilities=flying
auto=@movedto(clue|mybattlefield) turnlimited:name(Create clue) token(Clue)
auto=@movedto(clue|mybattlefield) turnlimited:name(Create clue) _CLUE_
text=Flying -- Whenever you investigate for the first time each turn, investigate an additional time.
mana={1}{U}
type=Creature
@@ -37950,7 +37950,7 @@ type=Sorcery
[card]
name=Expose Evil
auto=may tap target(<upto:2>creature)
auto=name(Create clue) token(Clue) controller
auto=name(Create clue) _CLUE_ controller
text=Tap up to two target creatures. -- Investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={1}{W}
type=Instant
@@ -41729,7 +41729,7 @@ toughness=1
[/card]
[card]
name=Fleeting Memories
auto=name(Create clue) token(Clue) controller
auto=name(Create clue) _CLUE_ controller
auto=@sacrificed(clue|mybattlefield):target(player) deplete:3
text=When Fleeting Memories enters, investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.") -- Whenever you sacrifice a Clue, target player mills three cards.
mana={2}{U}
@@ -49010,7 +49010,7 @@ toughness=6
name=Gone Missing
target=*
auto=moveto(ownerlibrary)
auto=name(Create clue) token(Clue) controller
auto=name(Create clue) _CLUE_ controller
text=Put target permanent on top of its owner's library. -- Investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={4}{U}
type=Sorcery
@@ -56126,7 +56126,7 @@ toughness=1
name=Humble the Brute
target=creature[power>3]
auto=destroy
auto=name(Create clue) token(Clue) controller
auto=name(Create clue) _CLUE_ controller
text=Destroy target creature with power 4 or greater. -- Investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={4}{W}
type=Instant
@@ -59772,7 +59772,7 @@ type=Enchantment
name=Jace's Scrutiny
target=creature
auto=-4/-0
auto=name(Create clue) token(Clue) controller
auto=name(Create clue) _CLUE_ controller
text=Target creature gets -4/-0 until end of turn. -- Investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={1}{U}
type=Instant
@@ -69881,7 +69881,7 @@ type=Instant
[card]
name=Magnifying Glass
auto={T}:Add{C}
auto={4}{T}:name(Create clue) token(Clue) controller
auto={4}{T}:name(Create clue) _CLUE_ controller
text={T}: Add {C}. -- {4}, {T}: Investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={3}
type=Artifact
@@ -82341,8 +82341,8 @@ toughness=3
[/card]
[card]
name=Ongoing Investigation
auto=@each combatdamage restriction{opponentdamagedbycombat}:name(Create clue) token(Clue) controller
auto={1}{G}{e(creature|mygraveyard)}:name(Create clue) token(Clue) controller && life:2
auto=@each combatdamage restriction{opponentdamagedbycombat}:name(Create clue) _CLUE_ controller
auto={1}{G}{e(creature|mygraveyard)}:name(Create clue) _CLUE_ controller && life:2
text=Whenever one or more creatures you control deal combat damage to a player, investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.") -- {1}{G}, Exile a creature card from your graveyard: Investigate. You gain 2 life.
mana={1}{U}
type=Enchantment
@@ -87767,6 +87767,7 @@ type=Sorcery
[card]
name=Porphyry Nodes
auto=@each my upkeep:bury notatarget(creature[power=power:lowest:creature:battlefield])
auto=if type(creature|battlefield)~equalto~0 then name(Sacrifice) name(Sacrifice) sacrifice
text=At the beginning of your upkeep, destroy the creature with the least power. It can't be regenerated. If two or more creatures are tied for least power, you choose one of them. -- When there are no creatures on the battlefield, sacrifice Porphyry Nodes.
mana={W}
type=Enchantment
@@ -88273,7 +88274,7 @@ type=Sorcery
name=Press for Answers
target=creature
auto=freeze
auto=name(Create clue) token(Clue) controller
auto=name(Create clue) _CLUE_ controller
text=Tap target creature. It doesn't untap during its controller's next untap step. -- Investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={1}{U}
type=Sorcery
@@ -96689,7 +96690,7 @@ type=Enchantment
name=Root Out
target=artifact,enchantment
auto=destroy
auto=name(Create clue) token(Clue) controller
auto=name(Create clue) _CLUE_ controller
text=Destroy target artifact or enchantment. -- Investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={2}{G}
type=Sorcery
@@ -116248,7 +116249,7 @@ name=Survive the Night
target=creature
auto=1/0
auto=indestructible
auto=name(Create clue) token(Clue) controller
auto=name(Create clue) _CLUE_ controller
text=Target creature gets +1/+0 and gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.) -- Investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={2}{W}
type=Instant
@@ -117744,7 +117745,7 @@ toughness=4
[card]
name=Tamiyo's Journal
abilities=hiddenface
auto=@each my upkeep:name(Create clue) token(Clue)
auto=@each my upkeep:name(Create clue) _CLUE_
aicode=activate target(*|mylibrary) moveto(ownerHand)
auto={T}{S(clue|mybattlefield)}{S(clue|mybattlefield)}{S(clue|mybattlefield)}:name(search card) Reveal:type:*:mylibrary revealzone(mylibrary) optionone name(choose card) target(<1>*|reveal) transforms((,newability[all(other *|reveal) moveto(mylibrary) and!(shuffle)!],newability[moveto(ownerHand)])) optiononeend optiontwo name(shuffle) bottomoflibrary target(<1>*|reveal) and!( all(*|reveal) bottomoflibrary and!(shuffle)! )! optiontwoend revealend
text=At the beginning of your upkeep, investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.") -- {T}, Sacrifice three Clues: Search your library for a card and put that card into your hand. Then shuffle.
@@ -120665,7 +120666,7 @@ toughness=2
[/card]
[card]
name=Thraben Inspector
auto=name(Create clue) token(Clue) controller
auto=name(Create clue) _CLUE_ controller
text=When Thraben Inspector enters, investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={W}
type=Creature
@@ -121965,7 +121966,7 @@ toughness=3
[/card]
[card]
name=Tireless Tracker
auto=_LANDFALL_name(Create clue) token(Clue) controller
auto=_LANDFALL_name(Create clue) _CLUE_ controller
auto=@sacrificed(clue|mybattlefield):counter(1/1)
text=Whenever a land enters under your control, investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.") -- Whenever you sacrifice a Clue, put a +1/+1 counter on Tireless Tracker.
mana={2}{G}
@@ -123179,7 +123180,7 @@ type=Instant
[/card]
[card]
name=Trail of Evidence
auto=@movedto(instant,sorcery|mystack):name(Create clue) token(Clue) controller
auto=@movedto(instant,sorcery|mystack):name(Create clue) _CLUE_ controller
text=Whenever you cast an instant or sorcery spell, investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.")
mana={2}{U}
type=Enchantment
@@ -125416,7 +125417,7 @@ toughness=*
[/card]
[card]
name=Ulvenwald Mysteries
auto=@movedto(creature[-token]|mygraveyard):name(Create clue) token(Clue) controller
auto=@movedto(creature[-token]|mygraveyard):name(Create clue) _CLUE_ controller
auto=@sacrificed(clue|mybattlefield):token(Human Soldier,creature Human Soldier,1/1,white)
text=Whenever a nontoken creature you control dies, investigate. (Put a colorless Clue artifact token onto the battlefield with "{2}, Sacrifice this artifact: Draw a card.") -- Whenever you sacrifice a Clue, put a 1/1 white Human Soldier creature token onto the battlefield.
mana={2}{G}
@@ -132968,7 +132969,7 @@ toughness=1
[/card]
[card]
name=Weirding Wood
auto=name(Create clue) token(Clue) controller
auto=name(Create clue) _CLUE_ controller
auto=teach(land) {T}:add{G}{G}
auto=teach(land) {T}:add{W}{W}
auto=teach(land) {T}:add{U}{U}
@@ -134754,7 +134755,7 @@ toughness=3
[/card]
[card]
name=Wirefly Hive
auto={3}{T}:flipacoin winability token(Wirefly,Artifact Creature Wirefly,2/2,flying) winabilityend loseability loseabilityend oneshot flipend
auto={3}{T}:flipacoin winability token(Wirefly,Artifact Creature Wirefly,2/2,flying) winabilityend loseability sacrifice loseabilityend flipend
text={3}, {T}: Flip a coin. If you win the flip, put a 2/2 colorless Insect artifact creature token with flying named Wirefly onto the battlefield. If you lose the flip, destroy all permanents named Wirefly.
mana={3}
type=Artifact

View File

@@ -811,7 +811,7 @@ abilities=canbecommander
auto=counter(0/0,5,loyalty)
auto={C(0/0,+2,Loyalty)}:target(legendary[creature]) transforms((,vigilance,lifelink,indestructible)) uynt
auto={C(0/0,+2,Loyalty)}:name(No target) donothing
auto={C(0/0,-3,Loyalty)}:name(Reveal the top four) reveal:4 optionone name(Select any number of legendary) target(<anyamount>*[legendary]|reveal) moveto(myhand) optiononeend optiontwo name(Put into your graveyard) all(<4>*|reveal) moveto(mygraveyard) and!(token(Treasure))! optiontwoend revealend
auto={C(0/0,-3,Loyalty)}:name(Reveal the top four) reveal:4 optionone name(Select any number of legendary) target(<anyamount>*[legendary]|reveal) moveto(myhand) optiononeend optiontwo name(Put into your graveyard) all(<4>*|reveal) moveto(mygraveyard) and!(_TREASURE_)! optiontwoend revealend
auto={C(0/0,-11,Loyalty)}:moveto(myBattlefield) all(*[-land]) && all(*[-land]) transforms((,newability[untap],haste)) ueot
text=[+2]: Up to one target legendary creature gains vigilance, lifelink, and indestructible until your next turn. -- [-3]: Reveal the top four cards of your library. Put any number of legendary cards from among them into your hand and the rest into your graveyard. Create a Treasure token for each card put into your graveyard this way. -- [-11]: Gain control of all nonland permanents until end of turn. Untap them. They gain haste until end of turn. -- Dihada, Binder of Wills can be your commander.
mana={1}{R}{W}{B}
@@ -1252,7 +1252,7 @@ subtype=Gideon
name=Gideon, Battle-Forged
backside=Kytheon, Hero of Akros
auto=counter(0/0,3,loyalty)
auto={C(0/0,2,Loyalty)}:name(+2: Target creature attacks Gideon) target(creature|opponentbattlefield) mustattack uynt
auto={C(0/0,2,Loyalty)}:name(+2: Target creature attacks Gideon) ability$! may target(creature|opponentbattlefield) mustattack uynt !$ controller
auto={C(0/0,1,Loyalty)}:name(+1: Target creature is indestructible and untap it) target(creature) transforms((,newability[untap],indestructible)) uynt
auto={C(0/0,0,Loyalty)}:name(+0: Transforms Gideon into a 4/4 Human Indestructible) transforms((Human Soldier Creature,setpower=4,settoughness=4,indestructible,newability[preventAllDamage to(this)])) ueot
text=+2: Up to one target creature an opponent controls attacks Gideon, Battle-Forged during its controller's next turn if able. -- +1: Until your next turn, target creature gains indestructible. Untap that creature. -- 0: Until end of turn, Gideon, Battle-Forged becomes a 4/4 Human Soldier creature with indestructible that's still a planeswalker. Prevent all damage that would be dealt to him this turn. // Kytheon, Hero of Akros
@@ -1592,7 +1592,7 @@ auto=counter(0/0,5,loyalty)
auto={C(0/0,+1,Loyalty)}:create(Kavu:Creature Kavu:3/3:trample:white:blue:black:red:green)
auto={C(0/0,-3,Loyalty)}:name(counters equal to number of colors) target(<upto:2>creature) transforms((,newability[counter(1/1.mycolnum)]))
auto={C(0/0,-6,Loyalty)}:moveTo(ownerhand) target(*[multicolor]|mygraveyard)
auto={C(0/0,-6,Loyalty)}:name(Return card that's all colors) moveTo(ownerhand) target(*[white&blue&black&red&green]|mygraveyard) && draw:1 && token(Treasure)*2
auto={C(0/0,-6,Loyalty)}:name(Return card that's all colors) moveTo(ownerhand) target(*[white&blue&black&red&green]|mygraveyard) && draw:1 && _TREASURE_*2
text=[+1]: Create a 3/3 Kavu creature token with trample that's all colors. -- [-3]: Choose up to two target creatures. For each of them, put a number of +1/+1 counters on it equal to the number of colors it is. -- [-6]: Return target multicolored card from your graveyard to your hand. If that card was all colors, draw a card and create two Treasure tokens. -- Jared Carthalion can be your commander.
mana={W}{U}{B}{R}{G}
type=Legendary Planeswalker
@@ -2631,7 +2631,7 @@ subtype=Oko
[card]
name=Oko, Thief of Crowns
auto=counter(0/0,4,loyalty)
auto={C(0/0,2,Loyalty)}:name(+2: Create food) token(Food)
auto={C(0/0,2,Loyalty)}:name(+2: Create food) _FOOD_
auto={C(0/0,1,Loyalty)}:name(+1: Transform artifact or creature) target(*[creature;artifact]|battlefield) transforms((Creature Elk,newcolors[green],setpower=3,settoughness=3,newability[loseabilities])) forever
auto={C(0/0,-5,Loyalty)}:name(-5: Exchange control) target(*[creature;artifact]|mybattlefield) moveto(opponentbattlefield) and!( target(other creature[power<=3]|opponentbattlefield) moveto(mybattlefield) )!
text=+2: Create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -- +1: Target artifact or creature loses all abilities and becomes a green Elk creature with base power and toughness 3/3. -- -5: Exchange control of target artifact or creature you control and target creature an opponent controls with power 3 or less.
@@ -3728,7 +3728,7 @@ subtype=Vraska
name=Vraska, Relic Seeker
auto=counter(0/0,6,loyalty)
auto={C(0/0,2,Loyalty)}:name(+2: Create a 2/2 Pirate with Menace) token(Pirate,creature Pirate,2/2,black,menace)
auto={C(0/0,-3,Loyalty)}:name(-3: Destroy target artifact, creature or enchantment and create a Treasure) destroy target(enchantment,artifact,creature) && token(TreasureArtifactToken)
auto={C(0/0,-3,Loyalty)}:name(-3: Destroy target artifact, creature or enchantment and create a Treasure) destroy target(*[artifact;creature;enchantment]) && _TREASURE_
auto={C(0/0,-10,Loyalty)}:name(-10: life total becomes 1.) lifeset:1 opponent
text=+2: Create a 2/2 black Pirate creature token with menace. -- -3: Destroy target artifact, creature, or enchantment. Create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color." -- -10: Target player's life total becomes 1.
mana={4}{B}{G}