Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- autolinebreak = true
- function EncounterStarting()
- Inventory.AddCustomItems({"B.Pie","Dog S.", "Silver Gun.", "Heart Pendant", "Ch. Sandwich", "French F." }, {0, 0, 1, 2, 0 ,0})
- Inventory.SetInventory({"B.Pie","Dog S.", "Silver Gun.", "Heart Pendant", "Ch. Sandwich", "French F.""})
- end
- function HandleItem(ItemID)
- if ItemID == "B.PIE" then
- Player.Heal(10)
- BattleDialog({"You ate the Bullshit Pie. You recovered 10 HP!"})
- elseif ItemID == "SILVER GUN." then
- Inventory.SetAmount(10)
- BattleDialog({"You equipped the Silver Gunner"})
- elseif (ItemID == "HEART PENDANT") then
- Inventory.SetAmount(20)
- AllowPlayerDef(true)
- BattleDialog({"You equipped the Heart Pendant."})
- elseif ItemID == "DOG S." then
- Player.Heal(-1)
- BattleDialog({"You ate the Dog Soil. Its literally poop?? -1 HP lost =("})
- if ItemID == "CH. SANDWICH" then
- Player.Heal(7)
- BattleDialog({"You ate the Cheese Sandwich. You recovered 7 HP!"})
- if ItemID == "FRENCH F." then
- Player.Heal(13)
- BattleDialog({"You ate the French Fries. You recovered 13"})
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement