null);
// create the ChatAction to reward the player
ChatAction addRewardAction = new ChatAction() {
public void fire(final Player player, final Sentence sentence, final EventRaiser npc) {
final StackableItem
koboldish_torcibud_vsop = (StackableItem)
SingletonRepository
.getEntityManager().getItem("vsop koboldish torcibud");
final int torcibud_bottles = 1 + Rand.roll1D6();
koboldish_torcibud_vsop.setQuantity(torcibud_bottles);
koboldish_torcibud_vsop.setBoundTo(player.getName());
// vsop torcibud will heal up to 75% of the player's base HP he has when getting rewarded
// all vsop koboldish torcibud is persistent (set in the xml for this item) so this value will last
koboldish_torcibud_vsop.put("amount", player.getBaseHP()*75/100);
//player.equipOrPutOnGround(koboldish_torcibud_vsop);
//put the rewarded bottles on the counter
final IRPZone zone = SingletonRepository.getRPWorld().getZone("int_wofol_bar");
koboldish_torcibud_vsop.setPosition(3, 3);
zone.add(koboldish_torcibud_vsop);
npc.say(
"Wrof! Here take "
+ Integer.toString(torcibud_bottles)