8 {
9 Thing first = base.FirstTarget;
10 Add(
"objInfo",
"", (Action)delegate
11 {
13 }, sound: false, 0, auto: false);
15 {
16 Add(
"quest",
"", (Action)delegate
17 {
19 }, sound: false, 20, auto: true);
20 Add(
"hire",
"", (Action)delegate
21 {
23 }, sound: false, 20, auto: true);
24 }
26 {
27 Add(
"gacha",
"", (Action)delegate
28 {
30 }, sound: false, 10, auto: true);
31 }
33 {
34 Add(
"craft",
"icon_Inspect", (Action)delegate
35 {
37 }, sound: false, 100, auto: true);
38 }
40 {
41 Add(
"uninstall",
"", (Action)delegate
42 {
44 }, sound: false, 0, auto: false);
45 }
46 Add(
"install",
"", (Action)delegate
47 {
49 }, sound: false, 0, auto: false);
51 {
52 Add(
"cancel".lang() +
"\n(" +
"Deconstruct".lang() +
")",
"", delegate(
Thing t)
53 {
55 }, sound: true);
56 }
57 else
58 {
59 Add(
"Deconstruct",
"", delegate(
Thing t)
60 {
62 }, sound: true);
63 }
66 {
67 Add(
"Copy",
"", (Action)delegate
68 {
70 }, sound: false, 0, auto: false);
71 }
72 }
Result TestThing(Thing t)
new bool Select(Result r)
static AM_Inspect Inspect
void SetPlaceState(PlaceState newState, bool byPlayer=false)
void SetDeconstruct(bool deconstruct)
Item Add(string text, string idSprite, Action action, bool sound=false, int priority=0, bool auto=false)