|
TModLoader v1.4.4.9
TModLoader source code documentation
|
Collaboration diagram for Terraria.DataStructures.FishingAttempt:Public Attributes | |
| PlayerFishingConditions | playerFishingConditions |
| int | X |
| The x-coordinate of tile this bobber is on, in tile coordinates. | |
| int | Y |
| The y-coordinate of tile this bobber is on, in tile coordinates. | |
| int | bobberType |
| The projectile type (F:Terraria.Projectile.type) of this bobber. | |
| bool | common |
If true, this fishing attempt can catch common items. | |
| bool | uncommon |
If true, this fishing attempt can catch uncommon items. | |
| bool | rare |
If true, this fishing attempt can catch rare items. | |
| bool | veryrare |
If true, this fishing attempt can catch very rare items. | |
| bool | legendary |
If true, this fishing attempt can catch legendary items. | |
| bool | crate |
If true, this fishing attempt can catch crates. | |
| bool | inLava |
If true, this fishing attempt is in lava. | |
| bool | inHoney |
If true, this fishing attempt is in honey. | |
| int | waterTilesCount |
| The number of liquid tiles counted for this fishing attempt. | |
| int | waterNeededToFish |
| The number of liquid tiles needed for proper fishing. If F:Terraria.DataStructures.FishingAttempt.waterTilesCount is less than this, then the player will recieve a F:Terraria.DataStructures.FishingAttempt.waterQuality percent debuff to their fishing power. This debuff is automatically applied to F:Terraria.DataStructures.FishingAttempt.fishingLevel. | |
| float | waterQuality |
| If positive, the percent decrease in fishing power this attempt has from missing liquid tiles. This is not how full the body of liquid is. | |
| int | chumsInWater |
| The number of chums applied to this attempt. Fishing power from chum is automatically added to F:Terraria.DataStructures.FishingAttempt.fishingLevel. | |
| int | fishingLevel |
| The fishing power of this attempt after all modifications. The higher this number, the better the attempt will go. | |
| bool | CanFishInLava |
If true, then this attempt can succeed if it is F:Terraria.DataStructures.FishingAttempt.inLava. | |
| float | atmo |
How high in the sky this attempt takes place, in the range [0.25f, 1f]. Any value below 1f takes place approximately in the top 10% of the world. The lower this value, the smaller F:Terraria.DataStructures.FishingAttempt.waterNeededToFish will be, which is automatically applied. | |
| int | questFish |
The item type (F:Terraria.Item.type) of the quest fish the Angler wants, or -1 if this player can't catch that fish today. | |
| int | heightLevel |
A representation of the current height. 0 is space-level (50% of F:Terraria.Main.worldSurface or higher). 1 is the surface (P:Terraria.Player.ZoneOverworldHeight). 2 is underground (P:Terraria.Player.ZoneDirtLayerHeight). 3 is the caverns (P:Terraria.Player.ZoneRockLayerHeight). 4 is the underworld (P:Terraria.Player.ZoneUnderworldHeight). | |
| int | rolledItemDrop |
| The item type (F:Terraria.Item.type) of the caught item. | |
| int | rolledEnemySpawn |
| The item type (F:Terraria.Item.type) of the caught NPC. | |
Definition at line 3 of file FishingAttempt.cs.