1using System.Collections.Generic;
29 return base.KarmaOnFail;
41 if (base.DestZone ==
null)
45 return base.DestZone.Dist(base.ClientZone) * 6;
67 while (cardRow ==
null);
124 if (onlyFirst && list.Count > 0)
167 return c.quest.uid ==
uid;
192 return c.quest.uid ==
uid;
217 Msg.
Say(
"deliverItem", thing);
240 string text = ((
GetDestThing() !=
null) ?
"supplyInInv".lang().TagColor(
FontColor.Good) :
"supplyNotInInv".lang());
243 string @ref = (base.DestZone.dictCitizen.TryGetValue(
uidTarget) ??
"???") +
" (" + base.DestZone.Name +
")";
244 return "progressDeliver".lang(
sourceThing.GetName(
num), @ref, text);
void Add(Act a, string s="")
Thing Pick(Thing t, bool msg=true, bool tryStack=true)
static SourceManager sources
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
List< Thing > ListDestThing(bool onlyFirst=false)
override string NameDeliver
virtual void SetIdThing()
static List< SourceCategory.Row > _listDeliver
override DifficultyType difficultyType
SourceThing.Row sourceThing
override string GetTextProgress()
override void OnEnterZone()
override bool IsDeliverTarget(Chara c)
override bool CanDeliverToBox(Thing t)
virtual bool IsDestThing(Thing t)
override bool ForbidTeleport
override string RefDrama2
override int GetExtraMoney()
virtual int GetBonus(Thing t)
SourceCategory.Row GetDeliverCat()
override bool Deliver(Chara c, Thing t=null)
virtual bool ConsumeGoods
override Thing GetDestThing()
override bool CanDeliverToClient(Chara c)
virtual string TextExtra2
SourceCategory categories
static SpawnList Get(string id, Func< SourceThing.Row, bool > func)
CardRow Select(int lv=-1, int levelRange=-1)
List< Thing > List(Func< Thing, bool > func, bool onlyAccessible=false)
static Thing Create(string id, int idMat=-1, int lv=-1)
override string GetName(NameStyle style, int _num=-1)
Thing Identify(bool show=true, IDTSource idtSource=IDTSource.Identify)
virtual bool CanUseContent