Definition at line 22224 of file Player.cs.
22225 {
22228 {
22229 flag = true;
22230 }
22232 {
22233 try
22234 {
22238 {
22240 }
22242 if (Main.tile[num,
num3] !=
null && Main.tile[num,
num3].liquid < 128)
22243 {
22244 if (Main.tile[num,
num3] ==
null)
22245 {
22246 Main.tile[num,
num3] =
new Tile();
22247 }
22248 if (!Main.tile[num,
num3].active() || !Main.tileSolid[Main.tile[num,
num3].type] || Main.tileSolidTop[Main.tile[num,
num3].type])
22249 {
22250 flag = false;
22251 }
22252 }
22253 }
22254 catch
22255 {
22256 }
22257 }
22259 {
22260 flag = Main.getGoodWorld && !flag;
22261 }
22263 {
22264 flag = false;
22265 }
22267 {
22268 flag = false;
22269 }
22270 if (Main.myPlayer ==
whoAmI)
22271 {
22273 {
22274 if (flag)
22275 {
22277 }
22278 flag = false;
22279 }
22280 if (flag)
22281 {
22284 {
22288 {
22290 }
22292 {
22297 {
22300 }
22301 }
22302 }
22303 }
22304 else
22305 {
22308 {
22310 }
22312 }
22313 }
22315 {
22318 {
22320 }
22322 {
22324 }
22325 else
22326 {
22328 }
22329 }
22330 }
static void PlaySound(int type, Vector2 position, int style=1)
static PlayerDeathReason ByOther(int type)
void KillMe(PlayerDeathReason damageSource, double dmg, int hitDirection, bool pvp=false)
References Terraria.DataStructures.PlayerDeathReason.ByOther(), Terraria.Collision.DrownCollision(), Terraria.Main.myPlayer, Terraria.Dust.NewDust(), Terraria.Audio.SoundEngine.PlaySound(), Terraria.Main.rand, Terraria.DataStructures.Tile, Terraria.Main.tile, Terraria.Main.tileSolid, Terraria.Main.tileSolidTop, and System.type.