ok, kamu, im trying it still, hehe, but im gonna try setting it as a string, so, i was wondering how i would et this up, but im not sure. here is what i think might do the trick;
NPC Code:
// NPC made by Urond the Paladin
if (created) {
setimg breadfoodicon.png;
setstring z,0;
}
if (playertouchsme) {
toweapons Bread;
setplayerprop #z,1;
}
if (weaponfired && strequals(#z,>1)) {
playerhearts+=2;
setplayerprop #z,0;
if (strequals(#z,<1)) {
destroy;
}
}