mob/Gym/verb
Warp_To_Gym()
if(usr.GymType=="Rock")
usr.loc = locate(/turf/RockExit)
if(usr.GymType=="Rainbow")
usr.loc = locate(/turf/RainbowExit)
if(usr.GymType=="Water")
usr.loc = locate(/turf/WaterExit)
if(usr.GymType=="Thunder")
usr.loc = locate(/turf/ThunderExit)
if(usr.GymType=="Darkness")
usr.loc = locate(/turf/Darknessexit)
if(usr.GymType=="Flying")
usr.loc = locate(/turf/SkyExit)
if(usr.GymType=="Psychic")
usr.loc = locate(/turf/PsychicExit)
if(usr.GymType=="Fire")
usr.loc = locate(/turf/FireExit)
return
Problem description:
Gym leader.dm:120:error:/turf/Darknessexit:undefined type path
and all the other exits are the same i posted 1 for the example of all exits i dont get wut i do wrong
And you are getting that error because /turf/Darknessexit does not exist. Remember, most programming languages (if not all) are CASE SENSITIVE. The "exit" part of that /turf differs from the others.