fix few new 781 items, liberty bay depot tile, npc addon looktype

This commit is contained in:
ErikasKontenis 2019-11-26 20:11:52 +02:00
parent aba06f9298
commit b697524b3c
27 changed files with 34 additions and 11 deletions

View File

@ -26518,7 +26518,7 @@ Flags = {Unmove}
TypeID = 5874
Name = "a poison trickle"
Flags = {Unmove}
# pradeti nuo cia ir nepamirsti implementuoti visiem npc ir monstram
TypeID = 5875
Name = "sniper gloves"
Description = "They are the pride of the paladin guild"
@ -26549,7 +26549,7 @@ TypeID = 5880
Name = "an iron ore"
Flags = {Cumulative,Take}
Attributes = {Weight=200}
# pradeti nuo cia ir nepamirsti implementuoti visiem npc ir monstram
TypeID = 5881
Name = "a lizard scale"
Flags = {Cumulative,Take}

View File

@ -65,6 +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 -->
<item id="5805" countmax="1" chance="65" /> <!-- a golden goblet -->
</loot>
</monster>

View File

@ -60,5 +60,6 @@
<item id="3351" countmax="1" chance="30" /> <!-- a steel helmet -->
<item id="3409" countmax="1" chance="150" /> <!-- a steel shield -->
<item id="3071" countmax="1" chance="10" /> <!-- a wand of inferno -->
<item id="5877" countmax="1" chance="10" /> <!-- green dragon leather -->
</loot>
</monster>

View File

@ -37,5 +37,6 @@
<item id="3456" countmax="1" chance="100" /> <!-- a pick -->
<item id="3378" countmax="1" chance="80" /> <!-- a studded armor -->
<item id="3723" countmax="1" chance="500" /> <!-- a white mushroom -->
<item id="5880" countmax="1" chance="7" /> <!-- iron ore -->
</loot>
</monster>

View File

@ -51,5 +51,6 @@
<item id="3059" countmax="1" chance="4" /> <!-- a spellbook -->
<item id="3362" countmax="1" chance="200" /> <!-- studded legs -->
<item id="3723" countmax="2" chance="600" /> <!-- a white mushroom -->
<item id="5880" countmax="1" chance="1" /> <!-- Iron Ore -->
</loot>
</monster>

View File

@ -38,5 +38,6 @@
<item id="3033" countmax="1" chance="1" /> <!-- a small amethyst -->
<item id="3351" countmax="1" chance="20" /> <!-- a steel helmet -->
<item id="3723" countmax="2" chance="550" /> <!-- a white mushroom -->
<item id="5880" countmax="1" chance="8" /> <!-- iron ore -->
</loot>
</monster>

View File

@ -40,5 +40,6 @@
<item id="3457" countmax="1" chance="100" /> <!-- a shovel -->
<item id="3375" countmax="1" chance="120" /> <!-- a soldier helmet -->
<item id="3723" countmax="2" chance="400" /> <!-- a white mushroom -->
<item id="5880" countmax="1" chance="6" /> <!-- iron ore -->
</loot>
</monster>

View File

@ -71,6 +71,6 @@
<item id="3736" countmax="1" chance="90" /> <!-- a star herb -->
<item id="3012" countmax="1" chance="100" /> <!-- a wolf tooth chain -->
<item id="3037" countmax="1" chance="4" /> <!-- a yellow gem -->
<item id="5786" countmax="1" chance="13000" /> <!-- wooden whistle -->
<item id="5786" countmax="1" chance="10" /> <!-- wooden whistle -->
</loot>
</monster>

View File

@ -47,5 +47,6 @@
<item id="3055" countmax="1" chance="1" /> <!-- a platinum amulet -->
<item id="3351" countmax="1" chance="50" /> <!-- a steel helmet -->
<item id="3053" countmax="1" chance="7" /> <!-- a time ring -->
<item id="5879" countmax="1" chance="21" /> <!-- spider silk -->
</loot>
</monster>

View File

@ -46,5 +46,6 @@
<item id="1781" countmax="4" chance="130" /> <!-- a small stone -->
<item id="3554" countmax="1" chance="5" /> <!-- steel boots -->
<item id="3409" countmax="1" chance="70" /> <!-- a steel shield -->
<item id="5880" countmax="1" chance="130" /> <!-- Iron Ore -->
</loot>
</monster>

View File

@ -56,6 +56,7 @@
<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 -->
<item id="5804" countmax="1" chance="1000" /> <!-- nose ring -->
<item id="5878" countmax="1" chance="600" /> <!-- minotaur leather -->
</loot>
</monster>

View File

@ -40,5 +40,6 @@
<item id="3601" countmax="2" chance="110" /> <!-- a roll -->
<item id="3030" countmax="1" chance="2" /> <!-- a small ruby -->
<item id="2920" countmax="1" chance="50" /> <!-- a torch -->
<item id="5875" countmax="1" chance="7" /> <!-- sniper gloves -->
</loot>
</monster>

View File

@ -39,5 +39,6 @@
<item id="3444" countmax="1" chance="3" /> <!-- a sentinel shield -->
<item id="3028" countmax="1" chance="1" /> <!-- a small diamond -->
<item id="3277" countmax="3" chance="100" /> <!-- a spear -->
<item id="5876" countmax="1" chance="9" /> <!-- lizard leather -->
</loot>
</monster>

View File

@ -54,5 +54,6 @@
<item id="3033" countmax="1" chance="5" /> <!-- a small amethyst -->
<item id="3066" countmax="1" chance="1" /> <!-- a snakebite rod -->
<item id="3037" countmax="1" chance="2" /> <!-- a yellow gem -->
<item id="5876" countmax="1" chance="9" /> <!-- lizard leather -->
</loot>
</monster>

View File

@ -36,5 +36,6 @@
<item id="3351" countmax="1" chance="20" /> <!-- a steel helmet -->
<item id="3264" countmax="1" chance="50" /> <!-- a sword -->
<item id="3345" countmax="1" chance="5" /> <!-- a templar scytheblade -->
<item id="5876" countmax="1" chance="10" /> <!-- lizard leather -->
</loot>
</monster>

View File

@ -37,5 +37,6 @@
<item id="3410" countmax="1" chance="200" /> <!-- a plate shield -->
<item id="3457" countmax="1" chance="30" /> <!-- a shovel -->
<item id="3264" countmax="1" chance="100" /> <!-- a sword -->
<item id="5878" countmax="1" chance="8" /> <!-- minotaur leather -->
</loot>
</monster>

View File

@ -39,5 +39,6 @@
<item id="3577" countmax="1" chance="100" /> <!-- meat -->
<item id="3377" countmax="1" chance="10" /> <!-- a scale armor -->
<item id="3375" countmax="1" chance="20" /> <!-- a soldier helmet -->
<item id="5878" countmax="1" chance="10" /> <!-- minotaur leather -->
</loot>
</monster>

View File

@ -35,5 +35,6 @@
<item id="3276" countmax="1" chance="100" /> <!-- a hatchet -->
<item id="3559" countmax="1" chance="150" /> <!-- leather legs -->
<item id="3577" countmax="1" chance="100" /> <!-- meat -->
<item id="5878" countmax="1" chance="10" /> <!-- minotaur leather -->
</loot>
</monster>

View File

@ -51,5 +51,6 @@
<item id="3559" countmax="1" chance="150" /> <!-- leather legs -->
<item id="2920" countmax="2" chance="300" /> <!-- a torch -->
<item id="3073" countmax="1" chance="5" /> <!-- a wand of cosmic energy -->
<item id="5878" countmax="1" chance="10" /> <!-- minotaur leather -->
</loot>
</monster>

View File

@ -52,5 +52,6 @@
<item id="3483" countmax="1" chance="50" /> <!-- a fishing rod -->
<item id="3031" countmax="50" chance="600" /> <!-- a gold coin -->
<item id="3577" countmax="1" chance="100" /> <!-- meat -->
<item id="5878" chance="100" /> <!-- minotaur leather -->
</loot>
</monster>

View File

@ -60,6 +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 -->
<item id="5809" countmax="1" chance="1000" /> <!-- soul stone -->
</loot>
</monster>

View File

@ -58,5 +58,6 @@
<item id="3055" countmax="1" chance="2" /> <!-- a platinum amulet -->
<item id="3351" countmax="1" chance="100" /> <!-- a steel helmet -->
<item id="3053" countmax="1" chance="14" /> <!-- a time ring -->
<item id="5879" countmax="1" chance="500" /> <!-- spider silk -->
</loot>
</monster>

View File

@ -119,6 +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 -->
<item id="5808" countmax="1" chance="100" /> <!-- orshabaal's brain -->
</loot>
</monster>

View File

@ -35,5 +35,6 @@
<item id="1781" countmax="4" chance="130" /> <!-- a small stone -->
<item id="3409" countmax="1" chance="70" /> <!-- a steel shield -->
<item id="2920" countmax="1" chance="55" /> <!-- a torch -->
<item id="5880" countmax="1" chance="7" /> <!-- iron ore -->
</loot>
</monster>

View File

@ -2,7 +2,7 @@
# elane.npc: Datenbank für die Paladinin Elane
Name = "Elane"
Outfit = (137,113-63-120-119)
Outfit = (137,113-63-120-119-2)
Home = [32343,32239,7]
Radius = 4
@ -47,6 +47,7 @@ VANISH,! -> "Bye."
"lugri" -> "A follower of evil that will get what he deserves one day."
"excalibug" -> "A weapon of myth. I don't believe that this weapon exists."
"news" -> "I am a paladin, not a storyteller."
"Sniper gloves" -> "We are always looking for sniper gloves. They are supposed to raise accuracy. If you find a pair, bring them here. Maybe I can offer you a nice trade."
"member" -> "Every paladin profits from his vocation. It has many advantages to be a paladin."
"profit" -> "We will help you to improve your skills. Besides I offer spells for paladins."

View File

@ -40,9 +40,10 @@ VANISH,! -> "Doh?"
"rat",Questvalue(224)=0 -> Type=3994, Amount=1, Price=2, "I'll give you %P gold for a dead rat. Do you accept?", Topic=2
"rabbit",Questvalue(224)=0 -> Type=4173, Amount=1, Price=2, "I'll give you %P gold for a dead rabbit. Do you accept?", Topic=2
"rat" -> Type=3994, Amount=1, Price=2, "I'll give you %P gold for a dead rat. Do you accept?", Topic=1
"rabbit" -> Type=4173, Amount=1, Price=2, "I'll give you %P gold for a dead rabbit. Do you accept?", Topic=1
"wolf" -> Type=4007, Amount=1, Price=5, "Do you want to sell a dead wolf for %P gold?", Topic=1
"rat" -> Type=3994, Amount=1, Price=2, "I'll give you %P gold for a dead rat. Do you accept?", Topic=1
"rabbit" -> Type=4173, Amount=1, Price=2, "I'll give you %P gold for a dead rabbit. Do you accept?", Topic=1
"wolf" -> Type=4007, Amount=1, Price=5, "Do you want to sell a dead wolf for %P gold?", Topic=1
"minotaur leather" -> Type=5878, Amount=1, Price=12, "Do you want to sell a minotaur leather for %P gold?", Topic=1
%1,1<%1,"rat",Questvalue(224)=0 -> Type=3994, Amount=%1, Price=2*%1, "I'll give you %P gold for %A dead rats. Do you accept?", Topic=2
%1,1<%1,"rabbit",Questvalue(224)=0 -> Type=4173, Amount=%1, Price=2*%1, "I'll give you %P gold for %A dead rabbits. Do you accept?", Topic=2
@ -50,6 +51,7 @@ VANISH,! -> "Doh?"
%1,1<%1,"rabbit" -> Type=4173, Amount=%1, Price=2*%1, "I'll give you %P gold for %A dead rabbits. Do you accept?", Topic=1
%1,1<%1,"wolf" -> Type=4007, Amount=%1, Price=5*%1, "Do you want to sell %A dead wolves for %P gold?", Topic=1
%1,1<%1,"wolves" -> Type=4007, Amount=%1, Price=5*%1, "Do you want to sell %A dead wolves for %P gold?", Topic=1
%1,1<%1,"minotaur leather" -> Type=5878, Amount=%1, Price=12*%1, "Do you want to sell %A minotaur leathers for %P gold?", Topic=1
Topic=1,"yes",Count(Type)>=Amount -> "Ok. Corpse for me, gold for you.", Delete(Type), CreateMoney
Topic=1,"yes" -> "Sorry, you do not have a fresh one."

View File

@ -143,6 +143,7 @@ bool Npc::load()
currentOutfit.lookBody = c[1];
currentOutfit.lookLegs = c[2];
currentOutfit.lookFeet = c[3];
currentOutfit.lookAddons = c[4];
} else {
currentOutfit.lookTypeEx = script.readNumber();
}