Advertisement
ElecMetal

Untitled

May 25th, 2019
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. autolinebreak = true
  2.  
  3. function EncounterStarting()
  4. Inventory.AddCustomItems({"B.Pie","Dog S.", "Silver Gun.", "Heart Pendant", "Ch. Sandwich", "French F." }, {0, 0, 1, 2, 0 ,0})
  5. Inventory.SetInventory({"B.Pie","Dog S.", "Silver Gun.", "Heart Pendant", "Ch. Sandwich", "French F.""})
  6. end
  7.  
  8. function HandleItem(ItemID)
  9. if ItemID == "B.PIE" then
  10. Player.Heal(10)
  11. BattleDialog({"You ate the Bullshit Pie. You recovered 10 HP!"})
  12.  
  13. elseif ItemID == "SILVER GUN." then
  14. Inventory.SetAmount(10)
  15. BattleDialog({"You equipped the Silver Gunner"})
  16.  
  17. elseif (ItemID == "HEART PENDANT") then
  18. Inventory.SetAmount(20)
  19. AllowPlayerDef(true)
  20. BattleDialog({"You equipped the Heart Pendant."})
  21.  
  22. elseif ItemID == "DOG S." then
  23. Player.Heal(-1)
  24. BattleDialog({"You ate the Dog Soil. Its literally poop?? -1 HP lost =("})
  25.  
  26. if ItemID == "CH. SANDWICH" then
  27. Player.Heal(7)
  28. BattleDialog({"You ate the Cheese Sandwich. You recovered 7 HP!"})
  29.  
  30. if ItemID == "FRENCH F." then
  31. Player.Heal(13)
  32. BattleDialog({"You ate the French Fries. You recovered 13"})
  33. end
  34. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement