10 public override bool CanUseInUserZone
20 public override bool CanStack
30 public override string LangUse
39 public override bool OnUse(
Chara c)
41 EClass.pc.Say(
"openDoor",
EClass.pc,
this.owner,
null,
null);
42 List<Thing> list = this.owner.things.ToList<
Thing>();
45 SE.Play(
"dropReward");
46 foreach (
Thing t
in list)
48 EClass.pc.Pick(t,
true,
true);
51 this.owner.ModNum(-1,
true);
56 public override void SetName(ref
string s)
58 if (!this.owner.c_idRefName.IsEmpty() &&
this.owner.c_altName.IsEmpty())
60 s =
"_written".lang(this.owner.c_idRefName, s,
null,
null,
null);