Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   First newbie quest (https://postpacific.loc-online.com/showthread.php?t=3051)

Sephiroth 21.01.2006 10:12

First newbie quest
 
I can't find item keltir fang in the loot of bearded keltirs. I can't find this item in npcitem.txt

Can you help me and ask where can i find this and what id it has? How can i summon this item?

Wishmaster 21.01.2006 10:42

bearded keltir = tuto_keltir in npcdata....look there droplist.

Aikeleer 21.01.2006 10:43

npcitem? De keltir fang is given through ai, it has a check if you already got 4 and if you have the quest or not.

Sephiroth 21.01.2006 12:09

Aikelerr: Can you please show me id of keltir fang. I can't find this item in itemdata. And show me please the sentence in ai where it is given.

Keltir Fang is item. So it must be in itemdata file. Doesn't it?

Aikeleer 21.01.2006 12:51

item_name_begin id=1857 name=[Keltir Fang 1] additionalname=[] popup=-1 description=[A fang taken by killing Nepitir. Collect four and take them to Master.] item_name_end
item_name_begin id=1858 name=[Keltir Fang 2] additionalname=[] popup=-1 description=[A fang taken by killing Nepitir. Collect four and take them to the Magister.] item_name_end
item_name_begin id=1859 name=[Keltir Fang 3] additionalname=[] popup=-1 description=[A fang taken by killing Nepitir. Collect four and take them to the Guardian of the Mothertree.] item_name_end
item_name_begin id=1860 name=[Keltir Fang 4] additionalname=[] popup=-1 description=[A fang taken by killing Nepitir. Collect four and take them to the Abyssal Celebrant.] item_name_end
item_name_begin id=1861 name=[Keltir Fang 5] additionalname=[] popup=-1 description=[A fang taken by killing Nepitir. Collect four and take them to the Priest of fire.] item_name_end
item_name_begin id=1862 name=[Keltir Fang 6] additionalname=[] popup=-1 description=[A fang taken by killing Nepitir. Collect four and take them to the Miner.] item_name_end

It's called fox_fang in ur itemdata.

Look in the AI for the following lines:

push_const ITEMID
push_const 1
func_call 77 // func[GiveItem1]

i.e.

push_const 1862
push_const 1
func_call 77 // func[GiveItem1]

The ai does the following; first of all it checks if you have the quest (getmemostate), then it checks if you have > 4 items (ownitemcount), then it gives it.

If you want to change the item of the keltir fang to another, you'll have to replace a lot of ai.obj lines.

Sephiroth 21.01.2006 13:35

Aikeleer Thank you. Can you tell me where in these words there is checking for >4 items?

push_const 1862
push_const 1
func_call 77 // func[GiveItem1

Sephiroth 21.01.2006 14:10

[No problem now. Thx]


All times are GMT. The time now is 15:56.