泰拉瑞亚 · 融合 Wiki

渔获/row

泰拉瑞亚本体 中文 rev 257465
此页面只在渔获上用于格式化目的。


此页面在基础页面渔获上用于打印出表格的每一行。

Parameters

id

ID(s) of the fishing catch. Can be a single ID, or a list separated with /. Items will be outputted as {{item|id={{{id}}}|type={{{type}}}|icons=n|showid=y|maxsize=100px}}.

type

The type of the ID refers to, used for {{item}} output. Defaults to item.

chance

The base chance of the fishing catch in fraction format (1/n).

fcalt, chancealt, cqalt, heightalt, reqalt

Manual input for fishing catch, chance, catch quality, height, and condition columns respectively.

cq

The catch quality of the fishing catch, wrapped in {{lc:}}, then converted to {{#var:cq:<Catch quality>}}. Can be a single instance, or a list separated with /. Multiple catch qualities will be separated with <br/>{{l10n|fishing_catches_table|sep_or}}<br/>.

Possible values
Catch quality Corresponding code
Plentiful
(Default value)
  • plentiful
  • 0
Common
  • common
  • 1
Uncommon
  • uncommon
  • 2
Rare
  • rare
  • 3
Very Rare
  • veryrare
  • very rare
  • 4
Extremely Rare
  • extremelyrare
  • extremely rare
  • legendary
  • 5
height

The height condition of the fishing catch. Input is wrapped in {{lc:}}, then converted to <li>{{#var:req:<Condition>}}</li>. Can be a single instance, or a list separated with /. Outputs <li>{{#var:req:anyheight}}</li> when unspecified.

Possible values
Condition Code Equivalent code Corresponding source code
Space 0 height0 Height0
Surface 1 height1 Height1
Underground 2 height2 Height2
Cavern 3 height3 Height3
Underworld 4 height4 Terraria.DataStructures.FishingAttempt.heightLevel = 4
Surface/Underground 1and2 height1/height2 Height1And2
Underground and below above1 height2/height3/height4 HeightAbove1
Surface and below aboveand1 height1/height2/height3/height4 HeightAboveAnd1
Surface and above under2 height0/height1 HeightUnder2
Cavern and below above2 height3/height4 HeightAbove2
req

Other condition(s) of the fishing catch. Input is wrapped in {{lc:}}, then converted to <li>{{#var:req:<Condition>}}</li>. Can be a single instance, or a list separated with /. Outputs 无 when unspecified.

Possible values
Condition Corresponding code Corresponding source code
Duke Fishron dukefishron Terraria.Projectile.TryBuildFishingContext
Enemies enemies Terraria.Projectile.FishingCheck_RollEnemySpawns
Quest fish questfish Terraria.Projectile.FishingCheck_ProbeForQuestFish
No Surly Slime surlyslime Terraria.Projectile.FishingCheck_RollEnemySpawns
Hardmode hardmode HardMode
Pre-Hardmode earlymode EarlyMode
Junk junk Junk
Crate crate Crate
Can fish in lava canfishinlava CanFishInLava
Dungeon dungeon Dungeon
Beach beach Beach
Hallow hallow Hallow
Glowing Mushroom biome glowingmushrooms GlowingMushrooms
Desert truedesert TrueDesert
Snow truesnow TrueSnow
Remix remix Remix
Corruption corruption Corruption
Crimson crimson Crimson
Jungle jungle Jungle
Snow biome (overridable) snow Snow
Desert (overridable) desert Desert
Hallowed Desert rolledhallowdesert RolledHallowDesert
Ocean ocean Ocean
>1000 tiles of liquid water1000 Water1000
Blood Moon bloodmoon BloodMoon
No Advanced Combat Techniques didnotusecombatbook DidNotUseCombatBook