13 owner.refVal = value?.
uid ?? 0;
29 int price = GetPrice(t) * t.Num;
30 p.TrySetAct(
"actCollectFurniture".lang(price.ToString() ??
"", t.Name) + ((t.category.ticket >= 10) ?
"ticketNotIntended".lang() :
""), delegate
32 if (owner.Num < price)
34 Msg.Say(
"notEnoughTicket");
39 t.isNPCProperty = false;
40 if (t.trait is TraitPillow)
65 public override void SetName(ref
string s)
69 s =
"_of".lang(zone.Name, s);
if(item3.idFile==idFirstFile &&item3.id==idFirstTopic)
virtual int GetPrice(CurrencyType currency=CurrencyType.Money, bool sell=false, PriceType priceType=PriceType.Default, Chara c=null)
SourceCategory.Row category
static void SetZone(Zone zone, Thing t)
override void SetName(ref string s)
override void TrySetHeldAct(ActPlan p)
virtual bool CanBeDestroyed