public override ObjectPicker.ColumnInfo GetValue(SimDescription item) { int price = PetSale.GetPrice(item); if (price > mMaxPrice) { price = mMaxPrice; } return(new ObjectPicker.TextColumn(EAText.GetMoneyString(price))); }
public static void OnAccepted(Sim actor, Sim target, string interaction, ActiveTopic topic, InteractionInstance i) { try { PetSale.DisplayDialog(actor.SimDescription, target.Household, true); } catch (ResetException) { throw; } catch (Exception e) { Common.Exception(actor, target, e); } }
public override void PostAnimation() { try { PetSale.DisplayDialog(Actor.SimDescription, null, false); } catch (ResetException) { throw; } catch (Exception e) { Common.Exception(Actor, Target, e); } }