Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- itemscripts > itempacks.cs
- /// <summary>
- /// MeteorTearPack
- /// </summary>
- [ScriptEntry(Entry = 723711)]
- public static void MeteorTearPack(Player player)
- {
- if (player.Inventory.Count < 35)
- {
- player.Inventory.Add(1088002, 5);
- player.Inventory.RemoveById(723711);
- }
- else
- {
- //Dialog.SendDialog(player, "Please make room in your inventory."); //send this as diff type of dialog, like top left of screen or something
- //Dialog.Finish(player);
- return;
- }
- }
- /// <summary>
- /// +1 Stone Pack
- /// </summary>
- [ScriptEntry(Entry = 723712)]
- public static void Plus1StonePack(Player player)
- {
- if (player.Inventory.Count < 35)
- {
- player.Inventory.Add(730001, 5);
- player.Inventory.RemoveById(723712);
- }
- else
- {
- //Dialog.SendDialog(player, "Please make room in your inventory."); //send this as diff type of dialog, like top left of screen or something
- //Dialog.Finish(player);
- return;
- }
- }
- /// <summary>
- /// MeteorScroll
- /// </summary>
- [ScriptEntry(Entry = 720027)]
- public static void MeteorScroll(Player player)
- {
- if (player.Inventory.Count < 30)
- {
- player.Inventory.Add(1088001, 10);
- player.Inventory.RemoveById(720027);
- }
- else
- {
- //Dialog.SendDialog(player, "Please make room in your inventory."); //send this as diff type of dialog, like top left of screen or something
- //Dialog.Finish(player);
- return;
- }
- }
- /// <summary>
- /// DragonballScroll
- /// </summary>
- [ScriptEntry(Entry = 720028)]
- public static void DragonballScroll(Player player)
- {
- if (player.Inventory.Count < 30)
- {
- player.Inventory.Add(1088000, 10);
- player.Inventory.RemoveById(720028);
- }
- else
- {
- //Dialog.SendDialog(player, "Please make room in your inventory."); //send this as diff type of dialog, like top left of screen or something
- //Dialog.Finish(player);
- return; //take this out after dialog
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement