瀏覽代碼

Update from EQ2EMu

devn00b 4 年之前
父節點
當前提交
95cf68e07d
共有 100 個文件被更改,包括 116 次插入8 次删除
  1. 0 0
      server/ItemScripts/AChunkOfAlabaster.lua
  2. 0 0
      server/ItemScripts/AbyssalCarpet.lua
  3. 11 0
      server/ItemScripts/Apinksaddledwhitetigercollar.lua
  4. 0 0
      server/ItemScripts/AppaloosaPackHorse.lua
  5. 0 0
      server/ItemScripts/ArmoredHighlandStalkerwhistle.lua
  6. 0 0
      server/ItemScripts/ArmoredPinto.lua
  7. 0 0
      server/ItemScripts/AwakenedDrakota.lua
  8. 0 0
      server/ItemScripts/BagOfParts.lua
  9. 11 0
      server/ItemScripts/BastionofTruthsDisc.lua
  10. 0 0
      server/ItemScripts/BattlehardenedFightingWarg.lua
  11. 0 0
      server/ItemScripts/BattlehardenedFireWarg.lua
  12. 0 0
      server/ItemScripts/BeardedFrostRhino.lua
  13. 11 0
      server/ItemScripts/BerylliumArmoredRhinoPinkSaddle.lua
  14. 0 0
      server/ItemScripts/Bjorn.lua
  15. 0 0
      server/ItemScripts/BlackNightmareBlueSaddle.lua
  16. 0 0
      server/ItemScripts/BlackNightmareIndigoSaddle.lua
  17. 0 0
      server/ItemScripts/BlackNightmarePurpleSaddle.lua
  18. 0 0
      server/ItemScripts/BlackNightmareRedSaddle.lua
  19. 0 0
      server/ItemScripts/BlackSpottedWargwithBlackArmor.lua
  20. 0 0
      server/ItemScripts/BlackSpottedWargwithBlackSaddle.lua
  21. 0 0
      server/ItemScripts/BlackSpottedWargwithBlueArmor.lua
  22. 0 0
      server/ItemScripts/BlackSpottedWargwithBlueSaddle.lua
  23. 0 0
      server/ItemScripts/BlackSpottedWargwithPurpleSaddle.lua
  24. 0 0
      server/ItemScripts/BlackSpottedWargwithPurplearmor.lua
  25. 0 0
      server/ItemScripts/BlackSpottedWargwithRedArmor.lua
  26. 0 0
      server/ItemScripts/BlackSpottedWargwithRedSaddle.lua
  27. 0 0
      server/ItemScripts/BlackStripedWargBlueSaddle.lua
  28. 0 0
      server/ItemScripts/BlackTwoToneWargwithBlackArmor.lua
  29. 0 0
      server/ItemScripts/BlackTwoToneWargwithBlackSaddle.lua
  30. 0 0
      server/ItemScripts/BlackTwoToneWargwithBlueArmor.lua
  31. 0 0
      server/ItemScripts/BlackTwoToneWargwithBlueSaddle.lua
  32. 0 0
      server/ItemScripts/BlackTwoToneWargwithGreenArmor.lua
  33. 0 0
      server/ItemScripts/BlackTwoToneWargwithGreenSaddle.lua
  34. 0 0
      server/ItemScripts/BlackTwoToneWargwithOrangeArmor.lua
  35. 0 0
      server/ItemScripts/BlackTwoToneWargwithOrangeSaddle.lua
  36. 0 0
      server/ItemScripts/BlackTwoToneWargwithPurpleArmor.lua
  37. 0 0
      server/ItemScripts/BlackTwoToneWargwithPurpleSaddle.lua
  38. 0 0
      server/ItemScripts/BlackTwoToneWargwithRedArmor.lua
  39. 0 0
      server/ItemScripts/BlackTwoToneWargwithRedSaddle.lua
  40. 0 0
      server/ItemScripts/BlackTwoToneWargwithYellowArmor.lua
  41. 0 0
      server/ItemScripts/BlackTwoToneWargwithYellowSaddle.lua
  42. 0 0
      server/ItemScripts/BlackWargBrownSaddle.lua
  43. 0 0
      server/ItemScripts/BlackWargGreenSaddle.lua
  44. 0 0
      server/ItemScripts/BloodRoanStallion.lua
  45. 34 0
      server/ItemScripts/BloodsaberAdeptCoin.lua
  46. 0 0
      server/ItemScripts/BlueCanvasOscillatingKajiggers.lua
  47. 0 0
      server/ItemScripts/BlueNightmareBlackSaddle.lua
  48. 11 0
      server/ItemScripts/BluesaddledBlackNightmare.lua
  49. 0 0
      server/ItemScripts/Boneclawfetidspineprowler.lua
  50. 0 0
      server/ItemScripts/BregolonBurly.lua
  51. 0 0
      server/ItemScripts/BronzeArmoredRhinoBlackSaddle.lua
  52. 0 0
      server/ItemScripts/BronzeArmoredRhinoRedSaddle.lua
  53. 0 0
      server/ItemScripts/BronzeArmoredRhinoYellowSaddle.lua
  54. 0 0
      server/ItemScripts/BronzeMechamagicWings.lua
  55. 0 0
      server/ItemScripts/BrownMistrunnerWargwithOrangeArmor.lua
  56. 0 0
      server/ItemScripts/BrownMistrunnerWargwithPurpleArmor.lua
  57. 0 0
      server/ItemScripts/BrownMistrunnerWargwithRedArmor.lua
  58. 0 0
      server/ItemScripts/BrownNightmareWargwithBlueArmor.lua
  59. 0 0
      server/ItemScripts/BrownNightmareWargwithIndigoArmor.lua
  60. 0 0
      server/ItemScripts/BrownNightmareWargwithPurpleArmor.lua
  61. 0 0
      server/ItemScripts/BrownNightmareWargwithRedArmor.lua
  62. 0 0
      server/ItemScripts/BrownSpottedWargwithRedSaddle.lua
  63. 0 0
      server/ItemScripts/BrownTreeglider.lua
  64. 0 0
      server/ItemScripts/BrownTwoToneWargwithRedArmor.lua
  65. 0 0
      server/ItemScripts/BrownTwoToneWargwithRedSaddle.lua
  66. 0 0
      server/ItemScripts/BrownWargwithBrownSaddle.lua
  67. 0 0
      server/ItemScripts/BrownWargwithGreenSaddle.lua
  68. 16 8
      server/ItemScripts/CalcifiedBoneOfTheTortured.lua
  69. 0 0
      server/ItemScripts/CarpetofClover.lua
  70. 0 0
      server/ItemScripts/CarpetofElKhazi.lua
  71. 0 0
      server/ItemScripts/CavalryAppaloosaWarBinding.lua
  72. 0 0
      server/ItemScripts/CavalryMorganWarBinding.lua
  73. 0 0
      server/ItemScripts/CavalryPalominoWarBinding.lua
  74. 0 0
      server/ItemScripts/CavalryPintoWarBinding.lua
  75. 0 0
      server/ItemScripts/CavalrySpiritsteedWarBinding.lua
  76. 0 0
      server/ItemScripts/CevernVastspan.lua
  77. 0 0
      server/ItemScripts/CobaltArmoredSaliraptor.lua
  78. 0 0
      server/ItemScripts/CraftKeepersDiscofFlight.lua
  79. 0 0
      server/ItemScripts/CrimsonHandsDiscofVoyage.lua
  80. 0 0
      server/ItemScripts/CrimsonNightmarePegasus.lua
  81. 0 0
      server/ItemScripts/DallynsTrotter.lua
  82. 0 0
      server/ItemScripts/DarkArmoredRhino.lua
  83. 0 0
      server/ItemScripts/DarkArmoredWarg.lua
  84. 0 0
      server/ItemScripts/DarkCanvasOscillatingKajiggers.lua
  85. 0 0
      server/ItemScripts/DarkHarbingersFlightWings.lua
  86. 0 0
      server/ItemScripts/DarkPegasus.lua
  87. 11 0
      server/ItemScripts/DarkRedNightmareBlackSaddle.lua
  88. 11 0
      server/ItemScripts/DarkRedNightmareRedSaddle.lua
  89. 0 0
      server/ItemScripts/DarkTreeglider.lua
  90. 0 0
      server/ItemScripts/DeVarun'sPack.lua
  91. 0 0
      server/ItemScripts/DeadlyDireWolf.lua
  92. 0 0
      server/ItemScripts/Deathclawfetidspineprowler.lua
  93. 0 0
      server/ItemScripts/DeepwaterDiskScion.lua
  94. 0 0
      server/ItemScripts/DerakartheSoulMelter.lua
  95. 0 0
      server/ItemScripts/DervishDestrierwithBlackSaddle.lua
  96. 0 0
      server/ItemScripts/DervishDestrierwithBlueSaddle.lua
  97. 0 0
      server/ItemScripts/DervishDestrierwithGreenSaddle.lua
  98. 0 0
      server/ItemScripts/DervishDestrierwithPinkSaddle.lua
  99. 0 0
      server/ItemScripts/DervishDestrierwithPurpleSaddle.lua
  100. 0 0
      server/ItemScripts/DervishDestrierwithRedSaddle.lua

+ 0 - 0
server/ItemScripts/AChunkOfAlabaster.lua


+ 0 - 0
server/ItemScripts/AbyssalCarpet.lua


+ 11 - 0
server/ItemScripts/Apinksaddledwhitetigercollar.lua

@@ -0,0 +1,11 @@
+--[[
+Script Name		:	ItemScripts/Apinksaddledwhitetigercollar.lua
+ Script Purpose	:	
+	Script Author	:	Skywalker646
+	Script Date		:	5.10.2020
+	Script Notes	:	
+--]]
+function used(Item, Player)
+CastSpell(Player, 5410, 1) 
+
+end

+ 0 - 0
server/ItemScripts/AppaloosaPackHorse.lua


+ 0 - 0
server/ItemScripts/ArmoredHighlandStalkerwhistle.lua


+ 0 - 0
server/ItemScripts/ArmoredPinto.lua


+ 0 - 0
server/ItemScripts/AwakenedDrakota.lua


+ 0 - 0
server/ItemScripts/BagOfParts.lua


+ 11 - 0
server/ItemScripts/BastionofTruthsDisc.lua

@@ -0,0 +1,11 @@
+--[[
+Script Name		:	ItemScripts/BastionofTruthsDisc.lua
+ Script Purpose	:	
+	Script Author	:	Skywalker646
+	Script Date		:	6.1.2020
+	Script Notes	:	
+--]]
+function used(Item, Player)
+CastSpell(Player, 5038, 1) 
+
+end

+ 0 - 0
server/ItemScripts/BattlehardenedFightingWarg.lua


+ 0 - 0
server/ItemScripts/BattlehardenedFireWarg.lua


+ 0 - 0
server/ItemScripts/BeardedFrostRhino.lua


+ 11 - 0
server/ItemScripts/BerylliumArmoredRhinoPinkSaddle.lua

@@ -0,0 +1,11 @@
+--[[
+Script Name		:	ItemScripts/BerylliumArmoredRhinoPinkSaddle.lua
+ Script Purpose	:	
+	Script Author	:	Skywalker646
+	Script Date		:	6.1.2020
+	Script Notes	:	
+--]]
+function used(Item, Player)
+CastSpell(Player, 5036, 1) 
+
+end

+ 0 - 0
server/ItemScripts/Bjorn.lua


+ 0 - 0
server/ItemScripts/BlackNightmareBlueSaddle.lua


+ 0 - 0
server/ItemScripts/BlackNightmareIndigoSaddle.lua


+ 0 - 0
server/ItemScripts/BlackNightmarePurpleSaddle.lua


+ 0 - 0
server/ItemScripts/BlackNightmareRedSaddle.lua


+ 0 - 0
server/ItemScripts/BlackSpottedWargwithBlackArmor.lua


+ 0 - 0
server/ItemScripts/BlackSpottedWargwithBlackSaddle.lua


+ 0 - 0
server/ItemScripts/BlackSpottedWargwithBlueArmor.lua


+ 0 - 0
server/ItemScripts/BlackSpottedWargwithBlueSaddle.lua


+ 0 - 0
server/ItemScripts/BlackSpottedWargwithPurpleSaddle.lua


+ 0 - 0
server/ItemScripts/BlackSpottedWargwithPurplearmor.lua


+ 0 - 0
server/ItemScripts/BlackSpottedWargwithRedArmor.lua


+ 0 - 0
server/ItemScripts/BlackSpottedWargwithRedSaddle.lua


+ 0 - 0
server/ItemScripts/BlackStripedWargBlueSaddle.lua


+ 0 - 0
server/ItemScripts/BlackTwoToneWargwithBlackArmor.lua


+ 0 - 0
server/ItemScripts/BlackTwoToneWargwithBlackSaddle.lua


+ 0 - 0
server/ItemScripts/BlackTwoToneWargwithBlueArmor.lua


+ 0 - 0
server/ItemScripts/BlackTwoToneWargwithBlueSaddle.lua


+ 0 - 0
server/ItemScripts/BlackTwoToneWargwithGreenArmor.lua


+ 0 - 0
server/ItemScripts/BlackTwoToneWargwithGreenSaddle.lua


+ 0 - 0
server/ItemScripts/BlackTwoToneWargwithOrangeArmor.lua


+ 0 - 0
server/ItemScripts/BlackTwoToneWargwithOrangeSaddle.lua


+ 0 - 0
server/ItemScripts/BlackTwoToneWargwithPurpleArmor.lua


+ 0 - 0
server/ItemScripts/BlackTwoToneWargwithPurpleSaddle.lua


+ 0 - 0
server/ItemScripts/BlackTwoToneWargwithRedArmor.lua


+ 0 - 0
server/ItemScripts/BlackTwoToneWargwithRedSaddle.lua


+ 0 - 0
server/ItemScripts/BlackTwoToneWargwithYellowArmor.lua


+ 0 - 0
server/ItemScripts/BlackTwoToneWargwithYellowSaddle.lua


+ 0 - 0
server/ItemScripts/BlackWargBrownSaddle.lua


+ 0 - 0
server/ItemScripts/BlackWargGreenSaddle.lua


+ 0 - 0
server/ItemScripts/BloodRoanStallion.lua


+ 34 - 0
server/ItemScripts/BloodsaberAdeptCoin.lua

@@ -0,0 +1,34 @@
+--[[
+	Script Name	: ItemScripts/BloodsaberAdeptCoin.lua
+	Script Purpose	: Offer Quest "Coin of an Adept"
+	Script Author	: premierio015
+	Script Date	: 2020.06.04
+	Script Notes :
+--]]
+
+local quest = 560 -- Coin of an Adept Quest ID
+
+function examined(Item, Player)
+	if not HasQuest(Player, quest) then
+conversation = CreateConversation()
+
+AddConversationOption(conversation, "Curious...", "FindCoins")
+AddConversationOption(conversation, "Put the coin away.", "CloseItemConversation")
+StartDialogConversation(conversation, 2, Item, Player, "You find a rather unusual coin off the Bloodsaber adept.")
+    elseif HasQuest(Player, quest) then
+RemoveItem(Player, 4402)
+end 
+end
+
+
+function FindCoins(Item, Player)
+  conversation = CreateConversation()  
+  
+  AddConversationOption(conversation, "I'll continue searching for these coins.", "QuestOffer")
+  AddConversationOption(conversation, "I'd rather not.", "CloseItemConversation")
+  StartDialogConversation(conversation, 2, Item, Player, "Maybe if I find enough of these coins I'll be able to figure out what they're used for.")
+end
+
+function QuestOffer(Item, Player)
+ OfferQuest(nil, Player, quest)   
+end

+ 0 - 0
server/ItemScripts/BlueCanvasOscillatingKajiggers.lua


+ 0 - 0
server/ItemScripts/BlueNightmareBlackSaddle.lua


+ 11 - 0
server/ItemScripts/BluesaddledBlackNightmare.lua

@@ -0,0 +1,11 @@
+--[[
+Script Name		:	ItemScripts/BluesaddledBlackNightmare.lua
+ Script Purpose	:	
+	Script Author	:	Skywalker646
+	Script Date		:	6.1.2020
+	Script Notes	:	
+--]]
+function used(Item, Player)
+CastSpell(Player, 5017, 1) 
+
+end

+ 0 - 0
server/ItemScripts/Boneclawfetidspineprowler.lua


+ 0 - 0
server/ItemScripts/BregolonBurly.lua


+ 0 - 0
server/ItemScripts/BronzeArmoredRhinoBlackSaddle.lua


+ 0 - 0
server/ItemScripts/BronzeArmoredRhinoRedSaddle.lua


+ 0 - 0
server/ItemScripts/BronzeArmoredRhinoYellowSaddle.lua


+ 0 - 0
server/ItemScripts/BronzeMechamagicWings.lua


+ 0 - 0
server/ItemScripts/BrownMistrunnerWargwithOrangeArmor.lua


+ 0 - 0
server/ItemScripts/BrownMistrunnerWargwithPurpleArmor.lua


+ 0 - 0
server/ItemScripts/BrownMistrunnerWargwithRedArmor.lua


+ 0 - 0
server/ItemScripts/BrownNightmareWargwithBlueArmor.lua


+ 0 - 0
server/ItemScripts/BrownNightmareWargwithIndigoArmor.lua


+ 0 - 0
server/ItemScripts/BrownNightmareWargwithPurpleArmor.lua


+ 0 - 0
server/ItemScripts/BrownNightmareWargwithRedArmor.lua


+ 0 - 0
server/ItemScripts/BrownSpottedWargwithRedSaddle.lua


+ 0 - 0
server/ItemScripts/BrownTreeglider.lua


+ 0 - 0
server/ItemScripts/BrownTwoToneWargwithRedArmor.lua


+ 0 - 0
server/ItemScripts/BrownTwoToneWargwithRedSaddle.lua


+ 0 - 0
server/ItemScripts/BrownWargwithBrownSaddle.lua


+ 0 - 0
server/ItemScripts/BrownWargwithGreenSaddle.lua


+ 16 - 8
server/ItemScripts/CalcifiedBoneOfTheTortured.lua

@@ -1,11 +1,19 @@
 --[[
-	Script Name		:	ItemScripts/CalcifiedBoneOfTheTortured.lua
-	Script Purpose	:	Provides quest "CalcifiedBoneOfTheTortured"
-	Script Author	:	premierio015
-	Script Date		:	03.05.2020
-	Script Notes	:	
+	Script Name	: ItemScripts/CalcifiedBoneOfTheTortured.lua
+	Script Purpose	: Offers quest "Calcified Bone of the Tortured"
+	Script Author	: premierio015
+	Script Date	    : 03.05.2020
+	Script Notes	:  
 --]]
 
-function examined(Item, Spawn)
-OfferQuest()
-end
+local quest = 527
+
+function examined(Item, Player)
+	if not HasQuest(Player, quest) and not HasCompletedQuest(Player, quest) then
+		OfferQuest(nil, Player, quest)
+
+		if HasItem(Player, 4766) then
+			RemoveItem(Player, 4766)
+end
+	end
+        end

+ 0 - 0
server/ItemScripts/CarpetofClover.lua


+ 0 - 0
server/ItemScripts/CarpetofElKhazi.lua


+ 0 - 0
server/ItemScripts/CavalryAppaloosaWarBinding.lua


+ 0 - 0
server/ItemScripts/CavalryMorganWarBinding.lua


+ 0 - 0
server/ItemScripts/CavalryPalominoWarBinding.lua


+ 0 - 0
server/ItemScripts/CavalryPintoWarBinding.lua


+ 0 - 0
server/ItemScripts/CavalrySpiritsteedWarBinding.lua


+ 0 - 0
server/ItemScripts/CevernVastspan.lua


+ 0 - 0
server/ItemScripts/CobaltArmoredSaliraptor.lua


+ 0 - 0
server/ItemScripts/CraftKeepersDiscofFlight.lua


+ 0 - 0
server/ItemScripts/CrimsonHandsDiscofVoyage.lua


+ 0 - 0
server/ItemScripts/CrimsonNightmarePegasus.lua


+ 0 - 0
server/ItemScripts/DallynsTrotter.lua


+ 0 - 0
server/ItemScripts/DarkArmoredRhino.lua


+ 0 - 0
server/ItemScripts/DarkArmoredWarg.lua


+ 0 - 0
server/ItemScripts/DarkCanvasOscillatingKajiggers.lua


+ 0 - 0
server/ItemScripts/DarkHarbingersFlightWings.lua


+ 0 - 0
server/ItemScripts/DarkPegasus.lua


+ 11 - 0
server/ItemScripts/DarkRedNightmareBlackSaddle.lua

@@ -0,0 +1,11 @@
+--[[
+Script Name		:	ItemScripts/DarkRedNightmareBlackSaddle.lua
+ Script Purpose	:	
+	Script Author	:	Skywalker646
+	Script Date		:	6.1.2020
+	Script Notes	:	
+--]]
+function used(Item, Player)
+CastSpell(Player, 5030, 1) 
+
+end

+ 11 - 0
server/ItemScripts/DarkRedNightmareRedSaddle.lua

@@ -0,0 +1,11 @@
+--[[
+Script Name		:	ItemScripts/DarkRedNightmareRedSaddle.lua
+ Script Purpose	:	
+	Script Author	:	Skywalker646
+	Script Date		:	6.1.2020
+	Script Notes	:	
+--]]
+function used(Item, Player)
+CastSpell(Player, 5027, 1) 
+
+end

+ 0 - 0
server/ItemScripts/DarkTreeglider.lua


+ 0 - 0
server/ItemScripts/DeVarun'sPack.lua


+ 0 - 0
server/ItemScripts/DeadlyDireWolf.lua


+ 0 - 0
server/ItemScripts/Deathclawfetidspineprowler.lua


+ 0 - 0
server/ItemScripts/DeepwaterDiskScion.lua


+ 0 - 0
server/ItemScripts/DerakartheSoulMelter.lua


+ 0 - 0
server/ItemScripts/DervishDestrierwithBlackSaddle.lua


+ 0 - 0
server/ItemScripts/DervishDestrierwithBlueSaddle.lua


+ 0 - 0
server/ItemScripts/DervishDestrierwithGreenSaddle.lua


+ 0 - 0
server/ItemScripts/DervishDestrierwithPinkSaddle.lua


+ 0 - 0
server/ItemScripts/DervishDestrierwithPurpleSaddle.lua


+ 0 - 0
server/ItemScripts/DervishDestrierwithRedSaddle.lua


Some files were not shown because too many files changed in this diff