ID:162911
 
this is my verb to get in and out of a car "old ore truck"
i get a inconsistent indentation error for some reason this was working before now???????
plz help i been looking at this for a day :9

obj/oret1
name = "Old Ore Truck"
icon = 'driveables.dmi'
icon_state="oret1"
density = 1
verb/Get_In()

for(var/obj/oret1/G in get_step(src,src.dir))
src.loc=G.loc
src.icon=G.icon
src.icon_state=G.icon_state
G.Move(usr)
usr.int = 1
return

verb/Get_out()
set src in oview(1)
for(var/obj/oret1/T in get_step(src,src.dir))
T.loc=usr.loc
T.dir=usr.dir
usr.icon='player.dmi'
usr.int = 0
return
you indented something wrong, in other words you didn't tab one more time or you tabbed too much.

obj/oret1
name = "Old Ore Truck"
icon = 'driveables.dmi'
icon_state="oret1"
density = 1
verb/Get_In()
for(var/obj/oret1/G in get_step(src,src.dir))
src.loc=G.loc
src.icon=G.icon
src.icon_state=G.icon_state
G.Move(usr)
usr.int = 1
return

verb/Get_out()
set src in oview(1)
for(var/obj/oret1/T in get_step(src,src.dir))
T.loc=usr.loc
T.dir=usr.dir
usr.icon='player.dmi'
usr.int = 0
return


try that
thats exactly what i have and i still get inconsistent indentation
???

those 2 spaces are not on my actual coding