obj/sharingan
verb
Sharingan()
set category = "Dojutsu"
if(src.resting == 1)
src<< "You are resting"
return
if(usr.Chakra <=49)
src<< "You do not have enough Chakra"
if(src.drain == 1)
src << "Your Sharingan is already active"
return
if(usr.CControl == 101)
var/CCusage = rand(48,51)
if(CCusage <=49)
view(usr) << "[usr] says, Sharingan"
usr << "[CCusage]/50 Chakra Converted"
usr.Chakra -= CCusage
return
if(CCusage >=50)
view(usr) << "[usr] says, Sharingan"
usr << "[CCusage]/50 Chakra converted"
usr.Chakra -= CCusage
usr << "Sharingan activated"
view(usr) << "1 Cleft appears in [usr] eye and 2 in the other"
src.contents += new/obj/illuminate()
src.contents += new/obj/Deactivate_Sharingan()
return
if(usr.CControl >= 130)
var/CCusage = rand(45,50)
if(CCusage <=49)
view(usr) << "[usr] says, Sharingan"
usr << "[CCusage]/50 Chakra converted"
usr.Chakra -= CCusage
return
if(CCusage >= 50)
view(usr) << "[usr] says, Sharingan"
usr << "[CCusage]/50 Chakra Converted"
usr.Chakra -= CCusage
usr << "Sharingan activated"
view(usr) << "1 Cleft appears in [usr] eye and 2 in the other"
src.contents += new/obj/illuminate()
src.contents += new/obj/Deactivate_Sharingan()
if(usr.CControl <=100)
view(usr) << "[usr] says, Sharingan"
usr << "50/50 Chakra Converted"
usr.Chakra -= 50
usr << "Sharingan activated"
view(usr) << "1 Cleft appears in [usr] eye and 2 in the other"
src.contents += new/obj/illuminate
src.contents += new/obj/Deactivate_Sharingan
obj/Deactivate_Sharingan
verb
Deactivate_Sharingan()
set category = "Dojutsu"
src.contents -= new/obj/illuminate
src.contents -= new/obj/Deactivate_Sharingan
usr << "You deactivated Sharingan"
view(usr) << "[usr] Deactivates Sharingan"
obj/illuminate
verb
Illuminate()
set category = "Dojutsu"
When I activate sharingan,Deactivate_sharingan nor Illuminate show up.