09-21-2014, 04:15 AM
When has "You shouldn't do X" ever stopped anyone on goon ever? Help intent on self while targeting chest with an empty hand, could make a check, something like
if (target(knifeInChest) == true)
{player.get(item.knife); target(knifeInChest) = false;}
else{target(helpUp);}
Or however the hell Byond code works, I haven't coded at all in a year so that's probably really bad anyways. Whatever.
Last second update: Just realized that would set knives in chest to zero even if there are multiple, so it'd have to check for => 0 but I'm too lazy to change it.
if (target(knifeInChest) == true)
{player.get(item.knife); target(knifeInChest) = false;}
else{target(helpUp);}
Or however the hell Byond code works, I haven't coded at all in a year so that's probably really bad anyways. Whatever.
Last second update: Just realized that would set knives in chest to zero even if there are multiple, so it'd have to check for => 0 but I'm too lazy to change it.