(solved) How do you stop items from being tradeable?

Started by mipen, March 01, 2015, 05:46:21 PM

Previous topic - Next topic

mipen

As the title says, I would like to stop some things from being tradeable. It used to be that you set the <tradersCarry> bool to false, but that is gone now :(

skullywag

#1
think its isTradable or something...checking...
edit - <tradeability>Never</tradeability>

there are other values it can take as well to do other stuff i think. Like sell only and shiz.

double edit -

using System;
namespace Verse
{
public enum Tradeability
{
Never,
Sellable,
Stockable
}
}
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

mipen

Thanks skullywag! :D That was really bugging me haha

skullywag

Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

mipen