mob
dragon
icon = 'man.dmi'
:corpse //add to corpse definition
var/dragon_meat = 9
item/corpse
icon = 'man.dmi'
verb
home()
usr << "[dragon_meat]"
Problem description:
this code is a modified example from chapter 6 of the guide. i am getting an undefined dargon_meat var. yet if i change :corpse to item/corpse then i will not get an error. why is the path operator not working?
Edit:
I toyed around with that example and it just doesn't seem to work. dragon_meat is not defined within the scope of item/corpse. I'm also led to believe that the example was just that, an example and not something you should be using in practice: