9 public override bool IsHomeItem
18 public override void TrySetAct(
ActPlan p)
20 if (!
EClass._zone.IsPCFaction)
24 p.TrySetAct(
"actChangeFactionName", delegate()
28 List<string> list =
new List<string>();
29 for (
int i = 0; i < 10; i++)
31 list.Add(WordGen.GetCombinedName(
this.GetAlias(),
"faction",
false));
34 }, delegate(
int a,
string b)
37 },
true).SetSize(450f, -1f).EnableReroll();
39 }, this.owner,
null, 1,
false,
true,
false);
40 p.TrySetAct(
"actShowSigns", delegate()
45 if (thing.IsInstalled && thing.source._origin ==
"sign")
47 thing.isMasked =
false;
51 }, this.owner,
null, 1,
false,
true,
false);
52 p.TrySetAct(
"actHideSigns", delegate()
57 if (thing.IsInstalled && thing.source._origin ==
"sign")
59 thing.isMasked =
true;
63 }, this.owner,
null, 1,
false,
true,
false);
67 public string GetAlias()
69 return EClass.player.title;