Author Topic: how to make a certain item tradable or not?  (Read 539 times)

Nagahaku

  • Developer
  • Named
  • ****
  • Posts: 240
  • Karma: 20
  • Lonegirl
how to make a certain item tradable or not?
« on: July 31, 2011, 02:58:48 PM »
i know if i want to make a certain item being able to be traded, i should modify some column in items.txt.cooked, but i could not find it...
seems to be a very basic question... but i really donot know how.. :o
Charming faces are easy to lose, while the glory of youth never back...

Malachor

  • Developer
  • Eldest
  • ****
  • Posts: 1622
  • Karma: 5
Re: how to make a certain item tradable or not?
« Reply #1 on: July 31, 2011, 06:18:10 PM »
Column Bitmask05. Add noTrade if you don't want something able to be traded, though in singleplayer it won't matter, since there's no one to trade to. And remove it if you want to be able to trade it.

Nagahaku

  • Developer
  • Named
  • ****
  • Posts: 240
  • Karma: 20
  • Lonegirl
Re: how to make a certain item tradable or not?
« Reply #2 on: July 31, 2011, 06:38:41 PM »
uh... seems not like this...
i mean i want to make it be able to trade with npc merchants, i know it would be possible because there is already somebody made the cube purchasable from merchants.. i tried to add the cube into the merchant's entry within table treasure.txt, and it did appeared there, but impossible to buy, and also, i cannot sell the cube in my inventory.
Charming faces are easy to lose, while the glory of youth never back...

Malachor

  • Developer
  • Eldest
  • ****
  • Posts: 1622
  • Karma: 5
Re: how to make a certain item tradable or not?
« Reply #3 on: August 01, 2011, 06:27:40 PM »
Have you given it  buyPriceAdd and sellPriceAdd values?

Nagahaku

  • Developer
  • Named
  • ****
  • Posts: 240
  • Karma: 20
  • Lonegirl
Re: how to make a certain item tradable or not?
« Reply #4 on: August 03, 2011, 07:22:29 AM »
solved, thx ;)
Charming faces are easy to lose, while the glory of youth never back...