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
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
Terraria.Player.rulerGrid
bool rulerGrid
Definition
Player.cs:1949
Terraria.Player.rulerLine
bool rulerLine
Definition
Player.cs:1951
Terraria.Player.autoActuator
bool autoActuator
Definition
Player.cs:2057
Terraria.Player.autoPaint
bool autoPaint
Definition
Player.cs:2055
Terraria.Player.dontHurtCritters
bool dontHurtCritters
Definition
Player.cs:1075
Terraria.Player.InfoAccMechShowWires
bool InfoAccMechShowWires
Definition
Player.cs:2197
Terraria.Player.hasLucyTheAxe
bool hasLucyTheAxe
Definition
Player.cs:1077
Terraria.Player.preventAllItemPickups
bool preventAllItemPickups
Definition
Player.cs:1073
Terraria.Player.dontHurtNature
bool dontHurtNature
Definition
Player.cs:1079
Terraria
Player
Generated by
1.10.0