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

◆ UsingSuperCart

bool Terraria.Player.UsingSuperCart
getset

If true, then any minecart (F:Terraria.ID.MountID.Sets.Cart) this player rides in will be significantly faster and fire lasers.
Cannot be true if F:Terraria.Player.unlockedSuperCart is false.

Definition at line 4308 of file Player.cs.

4309 {
4310 get
4311 {
4312 if (!unlockedSuperCart)
4313 {
4314 return false;
4315 }
4316 return enabledSuperCart;
4317 }
4318 set
4319 {
4320 enabledSuperCart = value;
4321 }
4322 }
bool unlockedSuperCart
If true, then this player has permanently buffed their minecarts. See P:Terraria.Player....
Definition Player.cs:2248
bool enabledSuperCart
If true, then this player has the effects of the Super Cart enabled. See P:Terraria....
Definition Player.cs:2253

Referenced by Terraria.Player.GetMinecartDamage().