Posts ID:139150 Favorites Medals
ID:139150

Code:mob/owner
verb
giveizangai(mob/M in world)
set name = "Give Izanagi"
usr.verbs += new /mob/danzo/verb/Izanagi()

mob/danzo/verb
Izanagi()
set category = "Ninjutsu"
set name = "Izanagi"
usr.Handseals()
if(usr.firing||usr.Kaiten == 1) // If the mob's firing var is one...
return
if(usr.chakra <= 15)
usr<<"You dont have enough chakra!"
return
if(!usr.handseals)
return
if(1)(usr.Frozen)
return
if(2)(usr.caught)
return
if(3)(usr.resting)
usr<<"Not while resting"
return
if(usr.izanagi==1)
src.izanagi=1
usr<<"[usr] Says: Izanagi"
else
src.izanagi=0
usr<<"You stopped useing Izanagi"

Problem description:izanagi.dm:30:error: inconsistent indentation

new.dmb - 9 errors, 0 warnings (double-click on an error to jump to it)

This one gave me no errors;
 ```mob/owner verb giveizangai(mob/M in world) set name = "Give Izanagi" set category = "Admin" usr.verbs += new /mob/danzo/verb/Izanagi()mob/danzo/verb Izanagi() set category = "Ninjutsu" set name = "Izanagi" usr.Handseals() if(usr.firing||usr.Kaiten == 1) // If the mob's firing var is one... return if(usr.chakra <= 15) usr<<"You dont have enough chakra!" return if(!usr.handseals) return if(usr.Frozen) usr<<"Your frozen" return if(usr.caught) usr<<"Your captured" return if(usr.resting) usr<<"Not while resting" return if(usr.izanagi==1) src.izanagi=1 usr<<"[usr] Says: Izanagi" else src.izanagi=0 usr<<"You stopped useing Izanagi" ```