SET Jacob FACE Edgar
IF Jacob HEALTH 5
REMOVE "Chopped Log" 2 2 Jacob 7 6
END
IF Jacob HEALTH 8
TALK Jacob Have fun!
END
IF Jacob HEALTH 6
SET Jacob HEALTH 5
TALK Jacob Thanks for rescuing my chickens, have you got me 2 logs from the forest yet?
END
IF Jacob HEALTH 7
REMOVE "Chicken Feed Bag" 0 -1 Jacob 8 8
TALK Jacob Thanks Edgar! My chickens are back and these logs will do me fine
ADD ENTITY WEAPON weapon/basic_sword " " 1880 510
TALK Jacob Take this sword, may it serve you well!
TALK Edgar Thank you!
END
IF Jacob HEALTH 2
REMOVE "Chopped Log" 2 2 Jacob 3 4
END
IF Jacob HEALTH 3
TALK Jacob Thanks for the logs, have you had any luck with the chickens?
END
IF Jacob HEALTH 4
SET Jacob HEALTH 2
TALK Jacob I'll give you a sword if you get me 2 chopped logs from the forest and rescue at least 3 of my chickens
END
IF Jacob HEALTH 1
SET Jacob HEALTH 2
FIRE_TRIGGER Jacob Trigger
TALK Jacob Hello Edgar, what can I do for you today?
TALK Edgar Do you have a sword I can borrow?
TALK Jacob I do have a sword and you can have it if you do something for me first
TALK Edgar OK... what do I have to do?
TALK Jacob Some of my chickens have escaped from their pen and I would be very grateful if you can get them back for me
ADD ENTITY KEY_ITEM item/chicken_feed_bag " " 1880 510
TALK Jacob I have set up some traps near their pen, you can lure them to the traps using this chicken feed. I don't need them all, but at least 3 would be very helpful. I can get the rest myself.
TALK Edgar That's it?
TALK Jacob Not quite. Can you also get me some wood from the forest? 2 logs should be sufficient
TALK Edgar Do you have an axe?
TALK Jacob Erm... I left my axe in the forest somewhere. It should still be there
TALK Edgar Isn't that forest dangerous?
TALK Jacob Not really, if anything gets in your way, just hit it with a weapon
TALK Edgar Such as an axe?
TALK Jacob Yes, that would do the trick
TALK Edgar ...
TALK Jacob But seriously, there's nothing in there that can really harm you. That problem was dealt with a long time ago...
TALK Jacob Good luck!
ACTIVATE_REQUIRED Chicken Trap
ADD OBJECTIVE "Collect 2 Chopped Logs" " "
ADD TRIGGER "Chopped Log" 2 UPDATE_OBJECTIVE "Collect 2 Chopped Logs"
ADD OBJECTIVE "Rescue 3 Chickens" "CHICKEN_TRIGGER"
ADD TRIGGER "Chicken" 3 UPDATE_OBJECTIVE "Rescue 3 Chickens"
ADD TRIGGER "CHICKEN_TRIGGER" 1 RUN_SCRIPT "jacob_chickens"
ADD TRIGGER "Chicken" 6 RUN_SCRIPT "jacob_potion"
ADD TRIGGER "Chicken" 10 RUN_SCRIPT "jacob_potion_2"
END
# 6 chickens, 2 logs
IF Jacob HEALTH 9
SET Jacob HEALTH 7
TALK Jacob Oh, thanks Edgar, I only needed 3, but thanks for the additional help!
ADD ENTITY ITEM item/health_potion " " 1880 510
TALK Jacob Here, Maggie made me this health potion but I don't need it so why don't you have it?
TALK Edgar Thanks Jacob
END
# 6 chickens, 0 logs
IF Jacob HEALTH 10
SET Jacob HEALTH 5
TALK Jacob Oh, thanks Edgar, I only needed 3, but thanks for the additional help!
ADD ENTITY ITEM item/health_potion " " 1880 510
TALK Jacob Here, Maggie made me this health potion but I don't need it so why don't you have it?
TALK Edgar Thanks Jacob
END
# 6 chickens, 2 logs
IF Jacob HEALTH 11
SET Jacob HEALTH 7
TALK Jacob Oh, thanks Edgar, I only needed 3, but thanks for the additional help!
ADD ENTITY ITEM item/health_potion " " 1880 510
TALK Jacob Here, Maggie made me this health potion but I don't need it so why don't you have it?
TALK Edgar Thanks Jacob
END
# 10 chickens, 2 logs
IF Jacob HEALTH 12
SET Jacob HEALTH 7
TALK Jacob Wow, you caught them all, thanks alot!
TALK Jacob Here, I have these for you
ADD ENTITY ITEM item/health_potion " " 1880 510
TALK Jacob Maggie made me this health potion but you can have it
TALK Jacob And this is something very special
ADD ENTITY KEY_ITEM item/heart_container " " 1880 510
TALK Jacob May this help you on your way to becoming a strong warrior
ADD_MEDAL all_chickens
ADD_SECRET
END
# 10 chickens, 0 logs
IF Jacob HEALTH 13
SET Jacob HEALTH 5
TALK Jacob Wow, you caught them all, thanks alot!
TALK Jacob Here, I have these for you
ADD ENTITY ITEM item/health_potion " " 1880 510
TALK Jacob Maggie made me this health potion but you can have it
TALK Jacob And this is something very special
ADD ENTITY KEY_ITEM item/heart_container " " 1880 510
TALK Jacob May this help you on your way to becoming a strong warrior
ADD_MEDAL all_chickens
ADD_SECRET
END
# 10 chickens, 0 logs
IF Jacob HEALTH 14
SET Jacob HEALTH 7
TALK Jacob Wow, you caught them all, thanks alot!
TALK Jacob Here, I have these for you
ADD ENTITY ITEM item/health_potion " " 1880 510
TALK Jacob Maggie made me this health potion but you can have it
TALK Jacob And this is something very special
ADD ENTITY KEY_ITEM item/heart_container " " 1880 510
TALK Jacob May this help you on your way to becoming a strong warrior
ADD_MEDAL all_chickens
ADD_SECRET
END
# 10 chickens, 2 logs
IF Jacob HEALTH 15
SET Jacob HEALTH 7
TALK Jacob Wow, you caught them all, thanks alot!
TALK Jacob You saved me a lot of time. Maggie made me something else but since you have been so helpful, you can have it.
ADD ENTITY KEY_ITEM item/heart_container " " 1880 510
TALK Jacob May this help you on your way to becoming a strong warrior
ADD_MEDAL all_chickens
ADD_SECRET
END
# 10 chickens, 2 logs
IF Jacob HEALTH 16
SET Jacob HEALTH 5
TALK Jacob Wow, you caught them all, thanks alot!
TALK Jacob You saved me a lot of time. Maggie made me something else but since you have been so helpful, you can have it.
ADD ENTITY KEY_ITEM item/heart_container " " 1880 510
TALK Jacob May this help you on your way to becoming a strong warrior
ADD_MEDAL all_chickens
ADD_SECRET
END
# 10 chickens, 0 logs
IF Jacob HEALTH 17
SET Jacob HEALTH 5
TALK Jacob Wow, you caught them all, thanks alot!
TALK Jacob You saved me a lot of time. Maggie made me something else but since you have been so helpful, you can have it.
ADD ENTITY KEY_ITEM item/heart_container " " 1880 510
TALK Jacob May this help you on your way to becoming a strong warrior
ADD_MEDAL all_chickens
ADD_SECRET
END
