Jump to content
  • We need you!

    You must register to discover all the features of our community!

  • 0

shop in pet


B7aR
Go to solution Solved by Asentrix,

Question

Version of Files : zeta v3

hi there 

 

I want to ask how I can place a merchandise store inside a pet.
When I click on the pet, the store appears to me.

 

I tried it through NaviCat by taking the merchandise store number and placing it in the pet  code
However, it was not allowed because the store already exists,

in addition to that the pet number is higher than the number allowed in the NaviCat

 

Is there a Quest doing the thing?
If there is, I would like it, please

 

?

 

 

 

Edited by B7aR
..... (see edit history)
Link to post

3 answers to this question

Recommended Posts

  • 0
  • VIP
  • Solution

just use it like:

quest pshop begin
	state start begin
		when 34006.click begin
			npc.open_shop(1001)
		end
	end
end

NOTE: the vnum in .click should be the mob vnum not the item because pet have 2 vnums

one for the item to summon the pet, and the second is for the pet itself

you have to use it for pet itself

 

  • Love 1
Link to post
  • 0

You can do it by source code modification at server side.

You can make a quest function (lua) to send a shop open command by a shop id and you can add that function to the target pet's vnum in quest (lua).

  • Love 1
Link to post
Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.