Jump to content

Merchants sell random number of desired items?


Guest deleted162293063

Recommended Posts

Guest deleted162293063

So I made item lets say Goblin Blod Ingot. How do I make Merchants to sell it in random ammouns like the do with other items(5 Steel Ingots, 10 Leather Stripes, etc.)?

Link to comment
Share on other sites

You use Levelled Items. That is what is used to randomize chest loot, mob drops, merchant inventories - and to make loot/sold items get better as you level up.

A levelled item is essentially a list of chances to generate a certain amount of certain item at certain player level. And you can nest them.

For example: you want merchant to sell 10-20 ingots when player is level 10+.

You create a levelled item that contains an entry for that ingot, level 10, count 1, chance None = 0. Call it 'ingotGuaranteed'

Create another item that is set up same way, but you put 'Chance None = 50, and check 'calculate for every item in count'. Call it 'IngotRandom'

 

In the merchant's chest, you add 10 of 'ingotGuaranteed' and 10 of 'IngotRandom'.

Link to comment
Share on other sites

Guest deleted162293063

You use Levelled Items. That is what is used to randomize chest loot, mob drops, merchant inventories - and to make loot/sold items get better as you level up.

A levelled item is essentially a list of chances to generate a certain amount of certain item at certain player level. And you can nest them.

For example: you want merchant to sell 10-20 ingots when player is level 10+.

You create a levelled item that contains an entry for that ingot, level 10, count 1, chance None = 0. Call it 'ingotGuaranteed'

Create another item that is set up same way, but you put 'Chance None = 50, and check 'calculate for every item in count'. Call it 'IngotRandom'

 

In the merchant's chest, you add 10 of 'ingotGuaranteed' and 10 of 'IngotRandom'.

You mean put 2 items (leveled lists) in inventory of merchant, not the ingot itself right?

Edited by GaeaNexusMods
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...