Jump to content

Cube at at multiple npcs


Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

You want to use the same section of cube items in multiple NPCs?

 

like:

section
npc	20018
npc2	20022
item	50722	1
reward	50802	1
percent	100
end

or you want the same NPC to have more than 1 Cube Window with different items and not all in the same? I don't understand what do you want exactly.

Edited by HITRON
Link to comment
Share on other sites

1 minute ago, HITRON said:

You want to use the same section of cube items in multiple NPCs?

 

like:


section
npc	20018
npc2	20022
item	50722	1
reward	50802	1
percent	100
end

 

No the same section. I want for example the npc 20022 to have armors.

The npc 20091 to have weapons. 

Npc 20084 to have stones.

 

Different sections.

5 minutes ago, HITRON said:

You want to use the same section of cube items in multiple NPCs?

 

like:


section
npc	20018
npc2	20022
item	50722	1
reward	50802	1
percent	100
end

or you want the same NPC to have more than 1 Cube Window with different items and not all in the same? I don't understand what do you want exactly.

quest: https://pastebin.com/k6t9QN8y

cube.txt https://pastebin.com/bpWbtESM

Link to comment
Share on other sites

#Weapon1
section        
npc    20091
item    19    1
item    39    1
reward    269    1
gold    3000000
percent    100    
end    

#Weapon2
section        
npc    20091
item    19    1
item    29    1
reward    279    1
gold    3000000
percent    100    
end    

#Armor1
section        
npc    20022
item    84153    1
item    84156    1
reward    121032    1
gold    2000000
percent    100    
end

#Armor2
section        
npc    20022
item    84153    1
item    84154    1
reward    121032    1
gold    2000000
percent    100    
end    
Link to comment
Share on other sites

6 minutes ago, zeimpekis9 said:

No the same section. I want for example the npc 20022 to have armors.

The npc 20091 to have weapons. 

Npc 20084 to have stones.

 

Different sections.

 

This is the default way that cube works.

 

# Armors
section
npc	20022
item	11209	1
reward	11219
percent	100
end

section
npc	20022
item	11219	1
reward	11229
percent	100
end

# Weapons
section
npc	20091
item	19	1
reward	29
percent	100
end

section
npc	20022
item	29	1
item	49 	1 # for more items you add more fields item and count.
reward	39
percent	100
end

# Stones
section
npc	20084
item	28333	1
reward	28433
percent	100
end

 

Edited by HITRON
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.