obj
verb
take(o as obj)
materialCheck(o)
drop(o as obj)
set src in usr
loc = usr.loc
proc/materialCheck(o as obj, canGet, materialType, material)
if(material == 1)
if(materialType == "wood")
wood = wood + 1
del o
if(materialType == "leather")
leather = leather + 1
del o
if(materialType == "iron")
iron = iron + 1
del o
if(materialType == "fur")
fur = fur + 1
del o
if(materialType == "bone")
bone = bone + 1
del o
if(materialType == "plant fiber")
plantFiber = plantFiber + 1
del o
else
if(canGet == 1)
set src in usr.loc<b>
Okay, so I complied this (no errors with the code) and I ran the game. I went over to a pile of various 'materials' and when I right clicked on them, it didnt create the usual pop-up screen that it usually does when something has a possible verb action. I have no idea wth is going on here so if anyone can help that would be great. NOTE: I didnt post my code for other people to steal/criticize. If you want to use it/have a problem with the way I code my games, message, dont waste a post on the forum. ~Brizzel987