Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 20. function EncounterStarting()
- 21. Inventory.AddCustomItems{{"MnstrCandy", "SpdrCider", "SpdrDonut"}, {0,0,0}}
- 22. Inventory.SetInventory{{"MnstrCandy", "SpdrCider", "SpdrDonut"}}
- 48. function HandleItem(ItemID)
- 50. if ItemID == "MNSTRCANDY" then
- 51. Player.Heal {10}
- 52. BattleDialog({"You ate the Mnstr Candy"})
- 53. elseif ItemID == "SPDRCIDER" then
- 54. Player.Heal {24}
- 55. BattleDialog({"You ate the Spdr Cider"})
- 56. elseif ItemID == "SPDRDONUT" then
- 57. Player.Heal {12}
- 58. BattleDialog({"You ate the Spdr Donut"})
- 59. end
- 60. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement