mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-05-10 05:29:20 +02:00
add few more 781 items
This commit is contained in:
parent
b9b021ea58
commit
f73a61170f
@ -147,6 +147,7 @@
|
|||||||
<action itemid="3208" script="misc/weapons.lua" />
|
<action itemid="3208" script="misc/weapons.lua" />
|
||||||
<action itemid="3059" script="misc/spellbook.lua" />
|
<action itemid="3059" script="misc/spellbook.lua" />
|
||||||
<action fromid="5792" toid="5797" script="misc/dice.lua" />
|
<action fromid="5792" toid="5797" script="misc/dice.lua" />
|
||||||
|
<action itemid="3114" script="misc/skull_candle.lua" />
|
||||||
|
|
||||||
<!-- Dolls -->
|
<!-- Dolls -->
|
||||||
<action itemid="5080" script="misc/dolls.lua" />
|
<action itemid="5080" script="misc/dolls.lua" />
|
||||||
|
14
data/actions/scripts/misc/skull_candle.lua
Normal file
14
data/actions/scripts/misc/skull_candle.lua
Normal 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
|
@ -26226,7 +26226,8 @@ Flags = {Take}
|
|||||||
Attributes = {Weight=30}
|
Attributes = {Weight=30}
|
||||||
|
|
||||||
TypeID = 5810
|
TypeID = 5810
|
||||||
Name = "a pirate voodoo doll"
|
Name = "a voodoo doll"
|
||||||
|
Description = "It looks like a small pirate"
|
||||||
Flags = {Take}
|
Flags = {Take}
|
||||||
Attributes = {Weight=650}
|
Attributes = {Weight=650}
|
||||||
|
|
||||||
@ -26242,7 +26243,7 @@ Attributes = {ChangeTarget=5813,Weight=2200,Brightness=3,LightColor=206,ExpireT
|
|||||||
TypeID = 5813
|
TypeID = 5813
|
||||||
Name = "a skull candle"
|
Name = "a skull candle"
|
||||||
Flags = {ChangeUse,Take,ExpireStop}
|
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
|
TypeID = 5814
|
||||||
Name = "small lava cracks"
|
Name = "small lava cracks"
|
||||||
@ -26473,7 +26474,7 @@ Flags = {Unmove}
|
|||||||
|
|
||||||
TypeID = 5864
|
TypeID = 5864
|
||||||
Name = "" # this is nothing in client
|
Name = "" # this is nothing in client
|
||||||
|
# pradzia nuo cia jau reikia implementuoti juiceri
|
||||||
TypeID = 5865
|
TypeID = 5865
|
||||||
Name = "a juice squeezer"
|
Name = "a juice squeezer"
|
||||||
Flags = {Take}
|
Flags = {Take}
|
||||||
|
@ -65,5 +65,6 @@
|
|||||||
<item id="3738" countmax="1" chance="70" /> <!-- a sling herb -->
|
<item id="3738" countmax="1" chance="70" /> <!-- a sling herb -->
|
||||||
<item id="3289" countmax="1" chance="110" /> <!-- a staff -->
|
<item id="3289" countmax="1" chance="110" /> <!-- a staff -->
|
||||||
<item id="3037" countmax="1" chance="4" /> <!-- a yellow gem -->
|
<item id="3037" countmax="1" chance="4" /> <!-- a yellow gem -->
|
||||||
|
<item id="5805" countmax="1" chance="90" /> <!-- a golden goblet -->
|
||||||
</loot>
|
</loot>
|
||||||
</monster>
|
</monster>
|
@ -56,5 +56,6 @@
|
|||||||
<item id="3031" countmax="20" chance="600" /> <!-- a gold coin -->
|
<item id="3031" countmax="20" chance="600" /> <!-- a gold coin -->
|
||||||
<item id="3276" countmax="1" chance="90" /> <!-- a hatchet -->
|
<item id="3276" countmax="1" chance="90" /> <!-- a hatchet -->
|
||||||
<item id="3577" countmax="1" chance="100" /> <!-- meat -->
|
<item id="3577" countmax="1" chance="100" /> <!-- meat -->
|
||||||
|
<item id="5804" countmax="1" chance="100000" /> <!-- nose ring -->
|
||||||
</loot>
|
</loot>
|
||||||
</monster>
|
</monster>
|
@ -60,5 +60,6 @@
|
|||||||
<item id="3294" countmax="1" chance="86" /> <!-- a short sword -->
|
<item id="3294" countmax="1" chance="86" /> <!-- a short sword -->
|
||||||
<item id="3114" countmax="1" chance="160" /> <!-- a skull -->
|
<item id="3114" countmax="1" chance="160" /> <!-- a skull -->
|
||||||
<item id="3324" countmax="1" chance="4" /> <!-- a skull staff -->
|
<item id="3324" countmax="1" chance="4" /> <!-- a skull staff -->
|
||||||
|
<item id="5809" countmax="1" chance="100000" /> <!-- soul stone -->
|
||||||
</loot>
|
</loot>
|
||||||
</monster>
|
</monster>
|
@ -119,5 +119,6 @@
|
|||||||
<item id="3002" countmax="1" chance="1" /> <!-- a voodoo doll -->
|
<item id="3002" countmax="1" chance="1" /> <!-- a voodoo doll -->
|
||||||
<item id="3069" countmax="1" chance="35" /> <!-- a volcanic rod -->
|
<item id="3069" countmax="1" chance="35" /> <!-- a volcanic rod -->
|
||||||
<item id="3026" countmax="15" chance="125" /> <!-- a white pearl -->
|
<item id="3026" countmax="15" chance="125" /> <!-- a white pearl -->
|
||||||
|
<item id="5808" countmax="1" chance="6666" /> <!-- orshabaal's brain -->
|
||||||
</loot>
|
</loot>
|
||||||
</monster>
|
</monster>
|
@ -3,6 +3,7 @@ local list = {
|
|||||||
[294] = {x = 0, y = 0, z = 1},
|
[294] = {x = 0, y = 0, z = 1},
|
||||||
[369] = {x = 0, y = 0, z = 1},
|
[369] = {x = 0, y = 0, z = 1},
|
||||||
[370] = {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},
|
[394] = {x = 0, y = 0, z = 1},
|
||||||
[411] = {x = 0, y = 0, z = 1},
|
[411] = {x = 0, y = 0, z = 1},
|
||||||
[412] = {x = 0, y = 0, z = 1},
|
[412] = {x = 0, y = 0, z = 1},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user