ID:146322
 
I am trying to adding a leveling system to my game and i get this problem its on a speedbag by the way here is the full coding of it

obj
SpeedBag
icon = 'weight-objs1.dmi'
icon_state = "speed"
density = 1
verb
SpeedBag()
set name = "Speed-Bag"
set category = "Training"
set src in oview(1)
if(usr.flight == 1)
usr << "Not while flying."
if (usr.resting==1)
usr<<"Not while resting"
if(usr.flight == 0 && usr.resting==0 && usr.maxpowerlevel>=20000)
if(usr.stamina >= 5)
if(usr.dir == 4)
flick("speedhit",src)
flick("weight-training-right", usr)
usr.random = rand(1,3)
if(usr.random == 1)
usr.move = 1
usr.stamina-=2
usr.icon_state = ""
usr.maxpowerlevel += 1
usr.meditate = 0
usr.FlightLearn()
usr.KiTechLearn()
usr.AuraTechLearn()
usr.FocusLearn()
if(usr.random == 3)
usr.move = 1
usr.stamina-=3
usr.icon_state = ""
usr.maxpowerlevel += 5
usr.levelcheck()
usr.exp += 1/5
usr.meditate = 0
usr.FlightLearn()
usr.KiTechLearn()
usr.AuraTechLearn()
usr.FocusLearn()
else
usr.maxpowerlevel += 0

else
usr << "You are too week to continue!."


The Error i get is

Punchingbags.dm:36: Inconsistent indentation.
Punchingbags.dm:37: Inconsistent indentation.

Now i cant see how its Indented anyways of around this ive moved them left to right and i cant figure on how to fix this problem
copying & pasting from the forums is bad for you.