Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RefreshMechanicalAccsFromItemType()

void Terraria.Player.RefreshMechanicalAccsFromItemType ( int accType)
inline

Definition at line 12181 of file Player.cs.

12182 {
12183 if (accType == 3619 || accType == 3611)
12184 {
12185 InfoAccMechShowWires = true;
12186 }
12187 if (accType == 486 || accType == 3611)
12188 {
12189 rulerLine = true;
12190 }
12191 if (accType == 2799 || accType == 3611)
12192 {
12193 rulerGrid = true;
12194 }
12195 if (accType == 2216 || accType == 3061 || accType == 5126)
12196 {
12197 autoPaint = true;
12198 }
12199 if (accType == 3624)
12200 {
12201 autoActuator = true;
12202 }
12203 if (accType == 4346)
12204 {
12205 preventAllItemPickups = true;
12206 }
12207 if (accType == 4767 || accType == 5323)
12208 {
12209 dontHurtCritters = true;
12210 }
12211 if (accType == 5309 || accType == 5323)
12212 {
12213 dontHurtNature = true;
12214 }
12215 if (accType == 5095)
12216 {
12217 hasLucyTheAxe = true;
12218 }
12219 }
bool autoActuator
Definition Player.cs:2057
bool dontHurtCritters
Definition Player.cs:1075
bool InfoAccMechShowWires
Definition Player.cs:2197
bool hasLucyTheAxe
Definition Player.cs:1077
bool preventAllItemPickups
Definition Player.cs:1073
bool dontHurtNature
Definition Player.cs:1079