75 {
76 return new
77 {
78 Nurse =
NPC.GetFirstNPCNameOrNull(18),
79 Merchant =
NPC.GetFirstNPCNameOrNull(17),
80 ArmsDealer =
NPC.GetFirstNPCNameOrNull(19),
81 Dryad =
NPC.GetFirstNPCNameOrNull(20),
82 Demolitionist =
NPC.GetFirstNPCNameOrNull(38),
83 Clothier =
NPC.GetFirstNPCNameOrNull(54),
84 Guide =
NPC.GetFirstNPCNameOrNull(22),
85 Wizard =
NPC.GetFirstNPCNameOrNull(108),
86 GoblinTinkerer =
NPC.GetFirstNPCNameOrNull(107),
87 Mechanic =
NPC.GetFirstNPCNameOrNull(124),
88 Truffle =
NPC.GetFirstNPCNameOrNull(160),
89 Steampunker =
NPC.GetFirstNPCNameOrNull(178),
90 DyeTrader =
NPC.GetFirstNPCNameOrNull(207),
91 PartyGirl =
NPC.GetFirstNPCNameOrNull(208),
92 Cyborg =
NPC.GetFirstNPCNameOrNull(209),
93 Painter =
NPC.GetFirstNPCNameOrNull(227),
94 WitchDoctor =
NPC.GetFirstNPCNameOrNull(228),
95 Pirate =
NPC.GetFirstNPCNameOrNull(229),
96 Stylist =
NPC.GetFirstNPCNameOrNull(353),
97 TravelingMerchant =
NPC.GetFirstNPCNameOrNull(368),
98 Angler =
NPC.GetFirstNPCNameOrNull(369),
99 Bartender =
NPC.GetFirstNPCNameOrNull(550),
100 WorldName = Main.worldName,
101 Day = Main.dayTime,
102 BloodMoon = Main.bloodMoon,
103 Eclipse = Main.eclipse,
104 MoonLordDefeated =
NPC.downedMoonlord,
105 GolemDefeated =
NPC.downedGolemBoss,
106 DukeFishronDefeated =
NPC.downedFishron,
107 FrostLegionDefeated =
NPC.downedFrost,
108 MartiansDefeated =
NPC.downedMartians,
109 PumpkingDefeated =
NPC.downedHalloweenKing,
110 IceQueenDefeated =
NPC.downedChristmasIceQueen,
111 HardMode = Main.hardMode,
112 Homeless = (npc?.homeless ?? false),
113 InventoryKey = Main.cInv,
114 PlayerName = Main.player[Main.myPlayer].name,
115 GolfGuy =
NPC.GetFirstNPCNameOrNull(588),
116 TaxCollector =
NPC.GetFirstNPCNameOrNull(441),
117 Rain = Main.raining,
118 Graveyard = Main.LocalPlayer.ZoneGraveyard,
119 AnglerCompletedQuestsCount = Main.LocalPlayer.anglerQuestsFinished,
120 TotalDeathsCount = Main.LocalPlayer.numberOfDeathsPVE,
123 InputTriggerUI_SellItem =
PlayerInput.GenerateInputTag_ForCurrentGamemode(tagForGameplay: false,
"SmartSelect"),
124 InputTriggerUI_Trash =
PlayerInput.GenerateInputTag_ForCurrentGamemode_WithHacks(tagForGameplay: false,
"SmartSelect"),
125 InputTriggerUI_FavoriteItem =
PlayerInput.GenerateInputTag_ForCurrentGamemode_WithHacks(tagForGameplay: false,
"SmartCursor"),
126 InputTrigger_QuickEquip =
PlayerInput.GenerateInputTag_ForCurrentGamemode(tagForGameplay: false,
"Grapple"),
127 InputTrigger_LockOn =
PlayerInput.GenerateInputTag_ForCurrentGamemode(tagForGameplay: true,
"LockOn"),
128 InputTrigger_RadialQuickbar =
PlayerInput.GenerateInputTag_ForCurrentGamemode(tagForGameplay: true,
"HotbarMinus"),
129 InputTrigger_RadialHotbar =
PlayerInput.GenerateInputTag_ForCurrentGamemode(tagForGameplay: true,
"HotbarPlus"),
130 InputTrigger_SmartCursor =
PlayerInput.GenerateInputTag_ForCurrentGamemode(tagForGameplay: true,
"SmartCursor"),
131 InputTrigger_UseOrAttack =
PlayerInput.GenerateInputTag_ForCurrentGamemode(tagForGameplay: true,
"MouseLeft"),
132 InputTrigger_InteractWithTile =
PlayerInput.GenerateInputTag_ForCurrentGamemode(tagForGameplay: true,
"MouseRight"),
133 InputTrigger_SmartSelect =
PlayerInput.GenerateInputTag_ForCurrentGamemode(tagForGameplay: true,
"SmartSelect")
134 };
135 }
static string GetTextValue(string key)