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);
131 if (onlyFirst && list.Count > 0)
174 return c.quest.uid ==
uid;
199 return c.quest.uid ==
uid;
224 Msg.
Say(
"deliverItem", thing);
231 thing.isGifted =
true;
232 thing = c.
Pick(thing);
259 string text = ((
GetDestThing() !=
null) ?
"supplyInInv".lang().TagColor(
FontColor.Good) :
"supplyNotInInv".lang());
262 string @ref = (base.DestZone.dictCitizen.TryGetValue(
uidTarget) ??
"???") +
" (" + base.DestZone.Name +
")";
263 return "progressDeliver".lang(
sourceThing.GetName(
num), @ref, text);
void Add(Act a, string s="")
bool CanEat(Thing t, bool shouldEat=false)
void SetAIImmediate(AIAct g)
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