diff --git a/New Text Document.txt b/New Text Document.txt index 1b95b37..c4e32a0 100644 --- a/New Text Document.txt +++ b/New Text Document.txt @@ -1 +1 @@ -next: 17572 \ No newline at end of file +next: 17574 \ No newline at end of file diff --git a/data/actions/actions.xml b/data/actions/actions.xml index 1df7120..a249405 100644 --- a/data/actions/actions.xml +++ b/data/actions/actions.xml @@ -89,9 +89,6 @@ - - - @@ -130,6 +127,7 @@ + @@ -198,10 +196,7 @@ - - - @@ -227,6 +222,8 @@ + + diff --git a/data/actions/scripts/misc/rookgard_skip.lua b/data/actions/scripts/misc/rookgard_skip.lua new file mode 100644 index 0000000..366fdb3 --- /dev/null +++ b/data/actions/scripts/misc/rookgard_skip.lua @@ -0,0 +1,11 @@ +function onUse(player, item, fromPosition, target, toPosition, isHotkey) + if player:getStorageValue(17572) ~= 1 and player:getLevel() <= 7 then + player:setStorageValue(17572, 1) + player:addHealth(-math.random(player:getHealth()-20, player:getHealth()-1)) + item:getPosition():sendMagicEffect(CONST_ME_HITBYFIRE) + player:say('OUCH!', TALKTYPE_MONSTER_SAY) + player:addExperience(4200 - player:getExperience()) + end + + return true +end \ No newline at end of file diff --git a/data/actions/scripts/port_hope/hydra_egg_quest.lua b/data/actions/scripts/port_hope/hydra_egg_quest.lua deleted file mode 100644 index 258e1da..0000000 --- a/data/actions/scripts/port_hope/hydra_egg_quest.lua +++ /dev/null @@ -1,11 +0,0 @@ -function onUse(player, item, fromPosition, target, toPosition, isHotkey) - if player:getStorageValue(17569) ~= 1 then - player:setStorageValue(17569, 1) - player:sendTextMessage(MESSAGE_INFO_DESCR, "You have found a hydra egg.") - player:addItem(4839, 1) - else - player:sendTextMessage(MESSAGE_INFO_DESCR, "The " .. item:getName() .. " is empty.") - end - - return true -end \ No newline at end of file diff --git a/data/items/items.srv b/data/items/items.srv index 705bf3b..5b7233d 100644 --- a/data/items/items.srv +++ b/data/items/items.srv @@ -13896,7 +13896,8 @@ Attributes = {Weight=80,SlotType=RING,HealthTicks=2000,HealthGain=1,ManaTicks=2 TypeID = 3101 Name = "a spellbook" -Flags = {Text,Take} +Description = "To humble, or not to humble, that is the question" +Flags = {Unmove,Unlay,Unthrow,Unpass,UseEvent} Attributes = {Weight=5800} TypeID = 3102 @@ -22212,7 +22213,8 @@ Attributes = {Weight=7000} TypeID = 4873 Name = "a hydra's nest" -Flags = {Bottom,Chest,Unpass,Unmove,Unlay} +Flags = {Bottom,Chest,Unpass,Unmove,Unlay,Disguise} +Attributes = {DisguiseTarget=5676} TypeID = 4874 Name = "swamp" @@ -25868,7 +25870,9 @@ Flags = {Take,Corpse,Expire} Attributes = {Weight=500,ExpireTarget=0,TotalExpireTime=600} TypeID = 5730 -Name = "" # this is nothing in client +Name = "a chest" +Flags = {Chest,Unpass,Unmove,Height,Disguise} +Attributes = {DisguiseTarget=2480} TypeID = 5731 Name = "a hole" @@ -25921,7 +25925,9 @@ Flags = {Take,Armor} Attributes = {Weight=4200,SlotType=HEAD,ArmorValue=9} TypeID = 5742 -Name = "" # this is nothing in client +Name = "a chest" +Flags = {Chest,Unpass,Unmove,Height,Disguise} +Attributes = {DisguiseTarget=2482} TypeID = 5743 Name = "wooden floor" @@ -26067,7 +26073,9 @@ Name = "metal fittings" Flags = {Clip,Unmove} TypeID = 5775 -Name = "" # this is nothing in client +Name = "a chest" +Flags = {Chest,Unpass,Unmove,Height,Disguise} +Attributes = {DisguiseTarget=2481} TypeID = 5776 Name = "" # this is nothing in client diff --git a/data/world/map.otbm b/data/world/map.otbm index 5fd7605..69a36a7 100644 Binary files a/data/world/map.otbm and b/data/world/map.otbm differ