//medabot vars//
mob
var
medal=""
//Actual Medal object code
obj/Meda_Parts/Medal
icon = 'Medal.dmi'
verb
Equip()
set src in usr
if(usr.equip >= 1)
usr << "[src.name] is currently inserted.."
else
usr.medal = 'Medal.dmi'
usr.equip += 1
suffix += ""
usr << "[src.name] is inserted"
//Stat Bar//
Stat()
..()
statpanel("Meda-Watch")
stat("Medabot Name","[medabotname]")
stat("Medal","[medal]")
Problem description:
Well its for my medabots game, i am trying to show that when you insert a Medal the icon appears in the "Medal" stat bar/var. However, it does not work :/
No errors occur but when i test it in the game the "medal" stat bar shows
Medal Medal.dmi