mob/Elite4/verb
Warp_To_Gym()
set category = "Elite 4"
if(usr.GymType=="Ice")
usr.loc = locate(/turf/IceE4Exit)
if(usr.GymType=="Bug")
usr.loc = locate(/turf/BugE4Exit)
if(usr.GymType=="Steel")
usr.loc = locate(/turf/SteelE4Exit)
if(usr.GymType=="Rock")
usr.loc = locate(/turf/RockE4Exit)
if(usr.GymType=="Champion")
usr.loc = locate(/turf/ChampionExit)
return
mob/Elite4/verb
Give_Badge(mob/M in world)
set name = "Give Badge"
set category = "Elite 4"
if(usr.GymType=="Ice")
var/obj/IceE4Badge/B = new/obj/IceE4Badge
B.loc = M
if(usr.GymType=="Bug")
var/obj/BugE4Badge/B = new/obj/BugE4Badge
B.loc = M
if(usr.GymType=="Steel")
var/obj/SteelE4Badge/B = new/obj/SteelE4Badge
B.loc = M
if(usr.GymType=="Rock")
var/obj/RockE4Badge/B = new/obj/RockE4Badge
B.loc = M
if(usr.GymType=="Champion")
var/obj/ChampionRibbon/B = new/obj/ChampionRibbon
B.loc = M
usr<<"You have given [M] your badge"
M<<"[usr] has given you the [usr.GymType] Badge"
world<<"[M] has obtained the [usr.GymType] Badge!
Problem description: how do i get these 2 to create an Elite 4 tab. i tried creating a new code.dm but that didnt work either... ive tried putting "Elite4" and "Elite_4" where "Gym" is stated and all i get are errors. i have another code for countdown. but once i get the tab to show it should appear in there as well... at least i would assume so...