add few more 781 items

This commit is contained in:
ErikasKontenis 2019-11-24 20:20:13 +02:00
parent b9b021ea58
commit f73a61170f
8 changed files with 24 additions and 3 deletions

View File

@ -147,6 +147,7 @@
<action itemid="3208" script="misc/weapons.lua" />
<action itemid="3059" script="misc/spellbook.lua" />
<action fromid="5792" toid="5797" script="misc/dice.lua" />
<action itemid="3114" script="misc/skull_candle.lua" />
<!-- Dolls -->
<action itemid="5080" script="misc/dolls.lua" />

View File

@ -0,0 +1,14 @@
function onUse(player, item, fromPosition, target, toPosition)
if not target:isItem() then
return false
end
if target:getId() == 2917 then
player:addItem(5813, 1)
item:remove(1)
target:remove(1)
return true
end
return false
end

View File

@ -26226,7 +26226,8 @@ Flags = {Take}
Attributes = {Weight=30}
TypeID = 5810
Name = "a pirate voodoo doll"
Name = "a voodoo doll"
Description = "It looks like a small pirate"
Flags = {Take}
Attributes = {Weight=650}
@ -26242,7 +26243,7 @@ Attributes = {ChangeTarget=5813,Weight=2200,Brightness=3,LightColor=206,ExpireT
TypeID = 5813
Name = "a skull candle"
Flags = {ChangeUse,Take,ExpireStop}
Attributes = {ChangeTarget=5812,Weight=2200,Brightness=0,LightColor=215} # TODO: implement like in tibia wiki
Attributes = {ChangeTarget=5812,Weight=2200,Brightness=0,LightColor=215}
TypeID = 5814
Name = "small lava cracks"
@ -26473,7 +26474,7 @@ Flags = {Unmove}
TypeID = 5864
Name = "" # this is nothing in client
# pradzia nuo cia jau reikia implementuoti juiceri
TypeID = 5865
Name = "a juice squeezer"
Flags = {Take}

View File

@ -65,5 +65,6 @@
<item id="3738" countmax="1" chance="70" /> <!-- a sling herb -->
<item id="3289" countmax="1" chance="110" /> <!-- a staff -->
<item id="3037" countmax="1" chance="4" /> <!-- a yellow gem -->
<item id="5805" countmax="1" chance="90" /> <!-- a golden goblet -->
</loot>
</monster>

View File

@ -56,5 +56,6 @@
<item id="3031" countmax="20" chance="600" /> <!-- a gold coin -->
<item id="3276" countmax="1" chance="90" /> <!-- a hatchet -->
<item id="3577" countmax="1" chance="100" /> <!-- meat -->
<item id="5804" countmax="1" chance="100000" /> <!-- nose ring -->
</loot>
</monster>

View File

@ -60,5 +60,6 @@
<item id="3294" countmax="1" chance="86" /> <!-- a short sword -->
<item id="3114" countmax="1" chance="160" /> <!-- a skull -->
<item id="3324" countmax="1" chance="4" /> <!-- a skull staff -->
<item id="5809" countmax="1" chance="100000" /> <!-- soul stone -->
</loot>
</monster>

View File

@ -119,5 +119,6 @@
<item id="3002" countmax="1" chance="1" /> <!-- a voodoo doll -->
<item id="3069" countmax="1" chance="35" /> <!-- a volcanic rod -->
<item id="3026" countmax="15" chance="125" /> <!-- a white pearl -->
<item id="5808" countmax="1" chance="6666" /> <!-- orshabaal's brain -->
</loot>
</monster>

View File

@ -3,6 +3,7 @@ local list = {
[294] = {x = 0, y = 0, z = 1},
[369] = {x = 0, y = 0, z = 1},
[370] = {x = 0, y = 0, z = 1},
[385] = {x = 0, y = 0, z = 1},
[394] = {x = 0, y = 0, z = 1},
[411] = {x = 0, y = 0, z = 1},
[412] = {x = 0, y = 0, z = 1},