ID:143000
 
Code:
obj
card
Effect
Click()
MonClick(usr,src)
cardtype="Effect Monster"
icon='Effects.dmi'
//Starter Deck Yugi
Wall_of_Illusion
startdeck="Starter Deck Yugi"
atk=1000
def=1850
subtype="Fiend"
attr="Dark"
level=4
desc="A monster that attacks this monster is returned to its owner's hand after damage calculation. Damage calculation is applied normally."
effecttime="IsAttacked"
proc
EffectRun(var/mob/M)
usr=M
spawn(10)
usr.monsters-=usr.currentcard
usr.hand+=usr.currentcard
usr.currentcard:loc=usr
CardNumUpdate(usr)
The_Stern_Mystic
startdeck="Starter Deck Yugi"
atk=1500
def=1200
subtype="Spellcaster"
attr="Light"
level=4
desc="FLIP: All face-down cards on the field are turned face-up, and then returned to their original position. No card effects are activated when cards are turned face-up."
effecttime="Flipped"
proc
EffectRun()
usr=src.owner
var/list/flipped=new/list()
for(var/obj/card/O in oview(usr))
if(O.cardtype=="Monster"||O.cardtype=="Effect Monster")
if(O.stance=="Face Down")
flipped+=O
CardInfo(O)
O:name=O:icon_state
if(O:cardtype==null)
O.icon='monsters.dmi'
else
O.icon='effects.dmi'
O:stance="Defense"
alert("Click Done to return cards to their face down positions","The Stern Mystic","Done")
for(var/obj/card/O in flipped)
O:stance="Face Down"
O.dir=NORTH
O.name="Face Down"
O.icon='BasicCards.dmi'
O.overlays=new/list()

Trap_Master
startdeck="Starter Deck Yugi"
atk=500
def=1100
subtype="Warrior"
attr="Earth"
level=3
desc="FLIP: Destroys 1 Trap Card on the field. If this card's target is face-down, flip it face-up. If this card is a Trap Card, it is destroyed. If not, it is returned to its face-down position. The flipped card is not activated."
effecttime="Flipped"
proc
EffectRun(var/mob/M)
usr=M
var/counter=0
for(var/obj/card/O in oview())
if(O.cardtype=="Trap"||O.cardtype=="Spell")
counter+=1
if(counter<=0)
return
src.owner:ClockAdd()
src.owner:target="Trap Master"
src.owner:StepUpdate("Select Target")
alert(src.owner,"Flip Effect Activated, Select trap card to destroy","Trap Master")
ManEaterBug
name="Man-Eater Bug"
startdeck="Starter Deck Yugi"
atk=450
def=600
subtype="Insect"
attr="Earth"
level=2
desc="FLIP: Destroys 1 monster on the field (regardless of position)."
effecttime="Flipped"
//End Starter Deck Yugi
Blank
startdeck="null"
atk=0
def=0
subtype="null"
attr="null"
level=0
desc="null"
effecttime="null"
Blank
startdeck="null"
atk=0
def=0
subtype="null"
attr="null"
level=0
desc="null"
effecttime="null"

Blank
startdeck="null"
atk=0
def=0
subtype="null"
attr="null"
level=0
desc="null"
effecttime="null"
Armed_Ninja
icon_state="Armed Ninja"
ini_icon="Armed Ninja"
name="Armed Ninja"
attribute="Earth"
star_level=1
startdeck=list("Starter Deck Yugi")//list("Standerd Starter Deck")
effect_activate_type=list("Flip")
monster_type="Warrior"
description="FLIP: Select 1 Spell Card on the field and destroy it. If the selected card is Set, pick up and see the card. If it is a Spell Card, it is destroyed. If it is a Trap Card, return it to its original position."
attack=300
defense=300
proc
EffectRun()
var/list/altata[]=new
var/count
for(var/obj/Card/Spell_Trap/O in src.owner.Opponent.Magic_Trap_Zone)
count++
if(O.name=="Face Down")
altata["([count]) [O] ([O.owner])"] = O
else
altata["([count]) [O] ([O.owner])"] = O
if(!altata.len)return
src.owner.ClockAdd()
var/obj/Card/Spell_Trap/O=altata[input(src.owner,"Flip Effect Activated, Select 1 Spell Card on the field and destroy it. If the selected card is Set, pick up and see the card. If it is a Spell Card, it is destroyed. If it is a Trap Card, return it to its original position.","Armed Ninja")as null|anything in altata]
if(O)
src.owner.Remove_All_O()
sleep(10)
O.icon_state=O.ini_icon
O.name=O.icon_state
sleep(20)
if(O.card_type=="Spell")
if("Field" in O.activate_type)
if(O.activated)
src.owner.table.field=null
src.owner.Update_Field()
O.owner.Magic_Trap_Zone-=O
O.owner.Graveyard+=O
O.owner.GraveUpdate()
O.loc=O.owner
return
else
O.icon_state="face down"
O.name="Face Down"
return
Exodia_the_Forbidden_One
icon_state="Exodia the Forbidden One"
ini_icon="Exodia the Forbidden One"
name="Exodia the Forbidden One"
attribute="Dark"
star_level=3
effect_activate_type=list("Hand")
monster_type="Spellcaster"
description="When you have 'Right Leg of the Forbidden One', 'Left Leg of the Forbidden One', 'Right Arm of the Forbidden One' and 'Left Arm of the Forbidden One' in addition to this card in your hand, you win the Duel."
attack=1000
defense=1000
proc
EffectRun()
return
Reaper_of_the_Cards
icon_state="Reaper of the Cards"
ini_icon="Reaper of the Cards"
name="Reaper of the Cards"
attribute="Earth"
star_level=5
effect_activate_type=list("Flip")
monster_type="Fiend"
description="FLIP: Select 1 Trap Card on the field and destroy it. If the selected card is Set, pick up and see the card. If it is a Trap Card, it is destroyed. If it is a Spell Card, return it to its original position."
attack=1380
defense=1930
proc
EffectRun()
var/list/altata[]=new
var/count
for(var/obj/Card/Spell_Trap/O in src.owner.Opponent.Magic_Trap_Zone)
count++
if(O.name=="Face Down")
altata["([count]) [O] ([O.owner])"] = O
else
altata["([count]) [O] ([O.owner])"] = O
if(!altata.len)return
src.owner.ClockAdd()
var/obj/Card/Spell_Trap/O=altata[input(src.owner,"Flip Effect Activated, Select 1 Trap Card on the field and destroy it. If the selected card is Set, pick up and see the card. If it is a Trap Card, it is destroyed. If it is a Spell Card, return it to its original position.","Reaper of the Cards")as null|anything in altata]
if(O)
src.owner.Remove_All_O()
sleep(10)
O.icon_state=O.ini_icon
O.name=O.icon_state
sleep(20)
if(O.card_type=="Trap")
O.owner.Magic_Trap_Zone-=O
O.owner.Graveyard+=O
O.owner.GraveUpdate()
O.loc=O.owner
return
else
O.icon_state="face down"
O.name="Face Down"
return
Hane_Hane
icon_state="Hane-Hane"
ini_icon="Hane-Hane"
name="Hane-Hane"
attribute="Earth"
star_level=2
effect_activate_type=list("Flip")
monster_type="Beast"
description="FLIP: Select 1 Monster Card on the field(regardless of position) and return it to the owner's hand."
attack=450
defense=500
proc
EffectRun()
src.owner.ClockAdd()
var/list/altata[]=new
var/count
for(var/obj/Card/Monster_And_Monster_Effect/O in src.owner.Opponent.Monster_Zone)
count++
if(O.name=="Face Down")
altata["([count]) [O] ([O.owner])"] = O
else
altata["([count]) [O] - [O.temp_attack]/[O.temp_defense] ([O.owner])"] = O
for(var/obj/Card/Monster_And_Monster_Effect/O in src.owner.Monster_Zone)
count++
if(O==src)
else
if(O.name=="Face Down")
altata["([count]) [O] ([O.owner])"] = O
else
altata["([count]) [O] - [O.temp_attack]/[O.temp_defense] ([O.owner])"] = O
if(!altata.len){src.owner.Remove_All_O();return}
var/obj/Card/Monster_And_Monster_Effect/O=altata[input(src.owner,"Flip Effect Activated, Select a monster and return it to the owners hand!","Hane-Hane")as null|anything in altata]
if(O)
src.owner.Remove_All_O()
O.owner.Monster_Zone-=O
O.owner.Hand+=O
O.retore_card()
O.icon_state=O.ini_icon
O.name=O.icon_state
O.loc=O.owner
O.dir=NORTH
for(var/c in O.overlays)
O.overlays-=c
O.owner.Show_Cards()
O.owner.CardNumUpdate()
src.owner.Remove_All_O()
return
ManEater_Bug
icon_state="Man-Eater Bug"
ini_icon="Man-Eater Bug"
name="Man-Eater Bug"
attribute="Earth"
star_level=2
startdeck=list("Starter Deck Yugi")//list("Starter Deck Yugi")
effect_activate_type=list("Flip")
monster_type="Insect"
description="FLIP: Destroys 1 monster on the field (regardless of position)."
attack=400
defense=600
proc
EffectRun()
src.owner.ClockAdd()
var/list/altata[]=new
var/count
for(var/obj/Card/Monster_And_Monster_Effect/O in src.owner.Opponent.Monster_Zone)
count++
if(O.name=="Face Down")
altata["([count]) [O] ([O.owner])"] = O
else
altata["([count]) [O] - [O.temp_attack]/[O.temp_defense] ([O.owner])"] = O
for(var/obj/Card/Monster_And_Monster_Effect/O in src.owner.Monster_Zone)
count++
if(O==src)
else
if(O.name=="Face Down")
altata["([count]) [O] ([O.owner])"] = O
else
altata["([count]) [O] - [O.temp_attack]/[O.temp_defense] ([O.owner])"] = O
if(!altata.len){src.owner.Remove_All_O();return}
var/obj/Card/Monster_And_Monster_Effect/O=altata[input(src.owner,"Flip Effect Activated, Select a monster to destroy!","Man-Eater Bug")as null|anything in altata]
if(O)
src.owner.Remove_All_O()
flick("destroyed",O)
sleep(10)
O.owner.Monster_Zone-=O
O.owner.Graveyard+=O
O.owner.GraveUpdate()
O.loc=O.owner
return
else
src.owner.Remove_All_O()
return

Morphing_Jar
icon_state=""
ini_icon=""
name="Morphing Jar"
attribute="Earth"
star_level="2"
startdeck=list("Starter Deck Yugi")//list("Starter Deck Yugi")
effect_activate_type="Flip"
monster_type="Rock"
description="FLIP: Both you and your opponent discard all cards in your hands and draw 5 cards from your respective Decks."
attack=700
defense=600
proc
EffectRun()

return

Little_Chimera//needs icon
icon_state=""
ini_icon=""
name="Little Chimera"
attribute="Fire"
star_level="2"
startdeck=list("Starter Deck Yugi")//list("Starter Deck Yugi")// "Tournament Pack 3"
effect_activate_type="Face-Up"
monster_type="Beast"
description="As long as this card remains face-up on the Field, increase the ATK of all Fire monsters by 500 points and decreases the ATK of all Water monsters by 400 points"
attack=600
defense=550
proc/Run_Effect()
src.activated=1
if(src.owner.Monster_Zone.len>=1)
for(var/obj/Card/Monster_And_Monster_Effect/O in src.owner.Monster_Zone)
if(O.Card_Status=="Face Up")
if(O.attribute=="Fire")
O.temp_attack+=500
if(O.attribute=="Water")
O.temp_attack-=400
CardInfo(O)
for(var/obj/Card/Monster_And_Monster_Effect/O in src.owner.Opponent.Monster_Zone)
if(O.Card_Status=="Face Up")
if(O.attribute=="Fire")
O.temp_attack+=500
if(O.attribute=="Water")
O.temp_attack-=400
CardInfo(O)
sleep(10)
src.owner.Magic_Trap_Zone-=src
src.owner.Graveyard+=src
src.owner.GraveUpdate()
src.loc=src.owner
return
Bladefly
icon_state=""
ini_icon=""
name="Bladefly"
attribute="Wind"
star_level="2"
startdeck=list("Starter Deck Yugi")//list("Starter Deck Yugi")// "Tournament Pack 3"
effect_activate_type="Face-Up"
monster_type="Insect"
description="As long as this card remains face-up on the Field, increase the ATK of all Wind monsters by 500 points and decreases the ATK of all Earth monsters by 400 points"
attack=600
defense=550
proc/Run_Effect()
src.activated=1
if(src.owner.Monster_Zone.len>=1)
for(var/obj/Card/Monster_And_Monster_Effect/O in src.owner.Monster_Zone)
if(O.Card_Status=="Face Up")
if(O.attribute=="Wind")
O.temp_attack+=500
if(O.attribute=="Earth")
O.temp_attack-=400
CardInfo(O)
for(var/obj/Card/Monster_And_Monster_Effect/O in src.owner.Opponent.Monster_Zone)
if(O.Card_Status=="Face Up")
if(O.attribute=="Wind")
O.temp_attack+=500
if(O.attribute=="Earth")
O.temp_attack-=400
CardInfo(O)
sleep(10)
src.owner.Magic_Trap_Zone-=src
src.owner.Graveyard+=src
src.owner.GraveUpdate()
src.loc=src.owner
return
Luminous_Soldier
icon_state=""
ini_icon=""
name="Luminous Soldier"
attribute="Light"
star_level="5"
startdeck=list("Starter Deck Yugi")//list("Starter Deck Yugi")// "Tournament Pack 5"
effect_activate_type="Face-Up in "
monster_type="Warrior"
description="If this card battles with a DARK monster, increase the ATK of this card by 500 points during the Damage Step."
attack=2100
defense=1400
Big_Shield_Gardna
icon_state=""
ini_icon=""
name="Big Shield Gardna"
attribute="Earth"
star_level="4"
startdeck=list("Starter Deck Yugi")//list("Starter Deck Yugi")// "Tournament Pack 5"
effect_activate_type="Face Down"
monster_type="Warrior"
description="Negate the activation of a Spell Card that designates this 1 face-down monster. At that time, flip this card into face-up Defense Position. If this card is attacked, change the Battle Position of this card to Attack Position at the end of the Damage Step."
attack=100
defense=2600
Toon_Cannon_Soldier
icon_state=""
ini_icon=""
name="Toon Cannon Soldier"
attribute="Dark"
star_level="4"
startdeck=list("Starter Deck Yugi")//list("Starter Deck Yugi")// "Tournament Pack 6"
effect_activate_type="Face-Up"
monster_type="Machine"
description="This card cannot attack durng the turn that it is Normal Summoned, Flip Summoned , or Special Summoned. When Toon World on the field is destroyed this card is also destroyed. If Toon World is on your side of the field and your opponent does not control a Toon Monster, this card can attack your opponent's Life Points directly. Tribute a monster on your side of the field to inflict 500 points of damge to your opponent's Life Points."
attack=1400
defense=1300
DD_Warrior
icon_state=""
ini_icon=""
name="D.D. Warrior"
attribute="Earth"
star_level="4"
startdeck=list("Starter Deck Yugi")//list("Starter Deck Yugi")// "Tournament Pack 7"
effect_activate_type="Face-Up"
monster_type="Warrior"
description="When this card battles a monster, after damage calculation remove from play that monster and this card."
attack=1200
defense=1000


Problem description:

MonstersEffect.dm:120: Inconsistent indentation.
MonstersEffect.dm:121: Inconsistent indentation.
MonstersEffect.dm:122: Inconsistent indentation.
MonstersEffect.dm:123: Inconsistent indentation.
MonstersEffect.dm:124: Inconsistent indentation.
MonstersEffect.dm:125: Inconsistent indentation.
MonstersEffect.dm:126: Inconsistent indentation.
MonstersEffect.dm:127: Inconsistent indentation.
MonstersEffect.dm:128: Inconsistent indentation.
MonstersEffect.dm:129: Inconsistent indentation.
MonstersEffect.dm:130: Inconsistent indentation.
MonstersEffect.dm:131: Inconsistent indentation.
MonstersEffect.dm:132: Inconsistent indentation.
MonstersEffect.dm:133: Inconsistent indentation.
MonstersEffect.dm:134: Inconsistent indentation.
MonstersEffect.dm:135: Inconsistent indentation.
MonstersEffect.dm:136: Inconsistent indentation.
MonstersEffect.dm:137: Inconsistent indentation.
MonstersEffect.dm:138: Inconsistent indentation.
MonstersEffect.dm:139: Inconsistent indentation.
MonstersEffect.dm:140: Inconsistent indentation.
MonstersEffect.dm:139:warning: empty 'else' clause
MonstersEffect.dm:141: Inconsistent indentation.
MonstersEffect.dm:142: Inconsistent indentation.
MonstersEffect.dm:143: Inconsistent indentation.
MonstersEffect.dm:144: Inconsistent indentation.
MonstersEffect.dm:145: Inconsistent indentation.
MonstersEffect.dm:146: Inconsistent indentation.
MonstersEffect.dm:147: Inconsistent indentation.
MonstersEffect.dm:148: Inconsistent indentation.
MonstersEffect.dm:149: Inconsistent indentation.
MonstersEffect.dm:150: Inconsistent indentation.
MonstersEffect.dm:151: Inconsistent indentation.
MonstersEffect.dm:152: Inconsistent indentation.
MonstersEffect.dm:153: Inconsistent indentation.
MonstersEffect.dm:154: Inconsistent indentation.
MonstersEffect.dm:155: Inconsistent indentation.
MonstersEffect.dm:156: Inconsistent indentation.
MonstersEffect.dm:157: Inconsistent indentation.
MonstersEffect.dm:158: Inconsistent indentation.
MonstersEffect.dm:159: Inconsistent indentation.
MonstersEffect.dm:160: Inconsistent indentation.
MonstersEffect.dm:161: Inconsistent indentation.
MonstersEffect.dm:160:warning: empty 'else' clause
MonstersEffect.dm:162: Inconsistent indentation.
MonstersEffect.dm:163: Inconsistent indentation.

DMO.dmb - 44 errors, 2 warnings (double-click on an error to jump to it)
You are an indentation too far over in the Armed Ninja definition.

*Edit: And every definition there after. Move everything (except the name Armed_Ninja) over to the left by 1.