ID:176834
 
How would i make something that shows the icon and name of something equiped? Like saying Body: [icon] Plate Mail
You should really search the forums for things like this. It has been done before.

In response to Sariat
....w/e
In response to Koolguy900095
obj/sword
icon = 'sword.dmi'
verb/equip()
usr.mysword = src //this makes it so that this is your sword

mob/var
obj/sword/mysword

mob/Stat()
stat("Sword:",mysword)


Here you go you lazy brat. Next time, I might not help you. You have to help yourself in order to succeed.

-Sariat
In response to Sariat
the equip verb doesnt show up
In response to Koolguy900095
obj/sword
icon = 'sword.dmi'
verb/equip()
set src in usr //SO THAT IT HAS TO BE IN THE USER'S INVENTORY TO USE
usr.mysword = src //this makes it so that this is your sword

I hope you actually learn something.