Bear: Difference between revisions

From Vintage Story Wiki
1,624 bytes added ,  8 months ago
added more behaviors
(added more detail from bear.json)
(added more behaviors)
Line 7: Line 7:
|Bear-male-black.png
|Bear-male-black.png
|type={{ll|Land|<translate><!--T:60--> Land</translate>}}
|type={{ll|Land|<translate><!--T:60--> Land</translate>}}
|blocks=tallgrass, shallow snow, air
|tier=2<ref>Line 308 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>
|behavior={{ll|:Category:Hostile_creatures|<translate><!--T:61--> Hostile</translate>}}
|behavior={{ll|:Category:Hostile_creatures|<translate><!--T:61--> Hostile</translate>}}
}}
}}
Line 23: Line 25:


<!--T:62-->
<!--T:62-->
Bears spawn on the world's {{ll|surface|surface}}, in {{Hovertip| grass | the 3D sort, any height}}, {{Hovertip| shallow | how deep?}} snow, or air.<ref>Line 569 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>  Most prefer forested areas with some precipitation, but trees are not necessary, and removing vegetation doesn't affect their ability to spawn.<ref>Direct message conversation between radfast (developer) and T.Read (player) via Discord</ref>
* Bears don't spawn during the first 4 in-game days.<ref>[https://www.vintagestory.at/blog.html/news/de-jank-and-game-juice-update-1170-rc1rc2-r323 Official devlog]</ref>
 
* Bears spawn on the world's {{ll|surface|surface}}, in {{Hovertip| grass | the 3D sort, any height}}, {{Hovertip| shallow | how deep?}} snow, or air.<ref>Line 569 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>   
The maximum elevation for all bear variants to spawn is <code>1.6</code>.<ref>Line 570 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>  If default sealevel is Y 110, and 110x1.6=176, then the player should not encounter many bears above Y 176.  Bears can still wander to higher elevations after spawning, especially if chasing prey.
* Most bears prefer forested areas with some precipitation, but trees are not necessary, and removing vegetation doesn't affect their ability to spawn.<ref>Direct message conversation between radfast (developer) and T.Read (player) via Discord, Jan2024</ref>
 
* The maximum elevation for all bear variants to spawn is <code>1.6</code>.<ref>Line 570 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>  If default sealevel is Y 110, and 110x1.6=176, then the player should not encounter many bears above Y 176.  Bears can still wander to higher elevations after spawning, especially if chasing prey.
The <code>TriesPerChunk</code> is 0.015.
* The <code>TriesPerChunk</code> is 0.015.
 
* An adult male bear might spawn alone, or with one adult female, with an average group size of 1, ±1.  
A male might spawn alone, or with one female, with an average group size of 1, ±1.  


</translate>
</translate>
Line 57: Line 58:
<translate>
<translate>


In the table above, temperature refers to annual average, rather than the current temperature a player can observe in the Character panel.<ref>Direct message conversation between radfast (developer) and T.Read (player) via Discord</ref>
In the table above, temperature refers to annual average, rather than the current temperature a player can observe in the Character panel.<ref>Direct message conversation between radfast (developer) and T.Read (player) via Discord, Jan2024</ref>


=== Runtime spawn conditions ===
=== Runtime spawn conditions ===


<!--T:64-->
<!--T:64-->
After worldgen, the temperature etc. conditions for spawning are the same.
* After worldgen, the temperature etc. conditions for spawning are the same.
However, bears will not spawn in areas of ''artificial'' light higher than level 7.  This is intended to prevent wild animals spawning in obviously-developed areas.<ref>Line 607 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>
* However, bears will not spawn in areas of ''artificial'' light higher than level 7.  This is intended to prevent wild animals spawning in obviously-developed areas.<ref>Line 607 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>
 
* The chance for a bear to spawn is 0.00003.<ref>Line 605 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>
The chance for a bear to spawn is 0.00003.<ref>Line 605 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>
* Though bear.json says <code>groupSize: { dist: "verynarrowgaussian", avg: 1, var: 1 }</code> it also says <code>maxQuantity: 1</code>.  It's highly unlikely that a group of bears can spawn during runtime.<ref>Direct message conversation between radfast (developer) and T.Read (player) via Discord, Feb2024</ref>
 
* Whether a bear spawns is dependent on a location meeting its spawn requirements when a spawn check occurs; there are no "spawn points" that repeatedly produce specific animals.<ref>Direct message conversation between radfast (developer) and T.Read (player) via Discord, Jan2024</ref>
Whether a bear spawns is dependent on a location meeting its spawn requirements when a spawn check occurs; there are no "spawn points" that repeatedly produce specific animals.<ref>Direct message conversation between radfast (developer) and T.Read (player) via Discord</ref>


=== Despawn conditions ===
=== Despawn conditions ===
Line 89: Line 89:
|image2=File:Bear-male-polar.png
|image2=File:Bear-male-polar.png
|HealthMF=66
|HealthMF=66
|HealthB=?
|BaseAttackMF=16
|BaseAttackMF=16
|SeekRangeMF=30
|SeekRangeMF=30
Line 115: Line 116:
|image2=File:Bear-male-brown.png
|image2=File:Bear-male-brown.png
|HealthMF=64
|HealthMF=64
|HealthB=?
|BaseAttackMF=12
|BaseAttackMF=12
|SeekRangeMF=30
|SeekRangeMF=30
Line 141: Line 143:
|image2=File:Bear-male-black.png
|image2=File:Bear-male-black.png
|HealthMF=44
|HealthMF=44
|HealthB=?
|BaseAttackMF=10
|BaseAttackMF=10
|SeekRangeMF=30
|SeekRangeMF=30
Line 167: Line 170:
|image2=File:Bear-male-panda.png
|image2=File:Bear-male-panda.png
|HealthMF=38
|HealthMF=38
|HealthB=?
|BaseAttackMF=8
|BaseAttackMF=8
|SeekRangeMF=30
|SeekRangeMF=30
Line 193: Line 197:
|image2=File:Bear-male-sun.png
|image2=File:Bear-male-sun.png
|HealthMF=34
|HealthMF=34
|HealthB=?
|BaseAttackMF=4
|BaseAttackMF=4
|SeekRangeMF=30
|SeekRangeMF=30
Line 219: Line 224:


<!--T:19-->
<!--T:19-->
* Bears have a 5% chance of growling while idle, giving players little warning that they're in the area.
* Brown bears, black bears and pandas can easily escape a pit 3 blocks deep. Polar bears and sun bears can only jump up 2 blocks.  Polar bears are the only variant that cannot use ladders.
* Brown bears, black bears and pandas can easily escape a pit 3 blocks deep. Polar bears and sun bears can only jump up 2 blocks.  Polar bears are the only variant that cannot use ladders.
* All bears can easily hit players/creatures over a fence 1 block high, but they can't jump over fences on level ground. Note: if the player puts a block such as a lantern on top of a fence, that creates a weak point where a bear could climb over.
* All bears can easily hit players/creatures over a fence 1 block high, but they can't jump over fences on level ground. Note: if the player puts a block such as a lantern on top of a fence, that creates a weak point where a bear could climb over.
Line 230: Line 236:
* If a bear receives damage, it might become aggressive towards any creature within 30 blocks.<ref>Lines 429-438 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>
* If a bear receives damage, it might become aggressive towards any creature within 30 blocks.<ref>Lines 429-438 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>
* Bears have a 0.01 chance to leap at their target.
* Bears have a 0.01 chance to leap at their target.
* In addition to their melee attack, bears have a slashing attack that deals 15 points of tier 2 damage.<ref>Lines 308-314 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>
* In addition to their melee attack, bears have a slashing attack that deals 15 points of tier 2 damage:<ref>Lines 308-314 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref> <code>minDist: 2</code> and <code>minVerDist: 1.5</code>.  This attack can probably be avoided by standing in a narrow pit 3 blocks deep.
* When a bear's health gets below 30%, it might turn and flee the player.  The chance for panda bears to flee is 30%, while the chance for black bears to flee is 10%; the chance for polar, brown, and sun bears to flee is only 5%.<ref>Lines 267-279 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>
* When a bear's health gets below 30%, it might turn and flee the player.  The chance for panda bears to flee is 30%, while the chance for black bears to flee is 10%; the chance for polar, brown, and sun bears to flee is only 5%.<ref>Lines 267-279 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>
* If a fleeing bear gets further than 20 blocks from its attacker, it might stop running and even lie down.  If the player approaches within 20 blocks, it will resume running away.<ref>Lines 349-352 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>
* If a fleeing bear gets further than 20 blocks from its attacker, it might stop running and even lie down.  If the player approaches within 20 blocks, it will resume running away.<ref>Lines 349-352 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>
* After 30 seconds without taking damage, a bear will stop fleeing and resume normal behavior.<ref>Lines 267-268 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>
* After 30 seconds without taking damage, a bear will stop fleeing and resume normal behavior.<ref>Lines 267-268 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>


=== Prey === <!--T:75-->
=== Prey === <!--T:75-->
Line 263: Line 268:


<!--T:21-->
<!--T:21-->
{{SneakClick|Butcher}} the animal by right-clicking while crouching with a {{ll|Knife|knife}} in the active hand to harvest its corpse.  
* {{SneakClick|Butcher}} the animal by right-clicking while crouching with a {{ll|Knife|knife}} in the active hand to harvest its corpse.  
* Bears do not drop any bones. Harvested corpses leave behind large bony carcasses, which the player can break to obtain bones. Unharvested bear corpses decay into bony carcasses after 4 game-days.<ref>Line 225 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json</ref>


== History ==
== History ==
* Polar bears were added in version 1.16.0-rc.1 as a rare spawn.  "Other bear types should get added in the future."<ref>[https://www.vintagestory.at/blog.html/news/homesteading-part-2-half-a-combat-update-v1160-rc1-rc2-r303 Official devlog]</ref>
* Polar bears were added in version 1.16.0-rc.1 as a rare spawn.  "Other bear types should get added in the future."<ref>[https://www.vintagestory.at/blog.html/news/homesteading-part-2-half-a-combat-update-v1160-rc1-rc2-r303 Official devlog]</ref>
* Brown bears, black bears, pandas and sun bears were added in version 1.17.0-pre1.<ref>[https://www.vintagestory.at/blog.html/news/de-jank-and-game-juice-update-1170-pre1-r322/ Official devlog]</ref>
* Brown bears, black bears, pandas and sun bears were added in version 1.17.0-pre1.<ref>[https://www.vintagestory.at/blog.html/news/de-jank-and-game-juice-update-1170-pre1-r322/ Official devlog]</ref>
Line 274: Line 281:


== Notes ==
== Notes ==
* It's unclear how quickly creatures regenerate health.
* Male brown bears are 25% larger than male black bears, and polar bears are 40% larger.  Panda bears are 20% smaller than black bears, and sun bears are 40% smaller.
* While bear.json says <code>basketCatchable: true</code>, the <code>trapChance</code> is 0, so none are possible to catch in [[Reed basket trap|reed basket traps]].
* While bear.json says <code>basketCatchable: true</code>, the <code>trapChance</code> is 0, so none are possible to catch in [[Reed basket trap|reed basket traps]].
* The <code>trapDestroyChance</code> is 90%.
* The <code>trapDestroyChance</code> is 90%.
* It's unclear whether groups of bears can spawn during runtime. bear.json says <code>maxQuantity: 1</code> but also <code>groupSize: { dist: "verynarrowgaussian", avg: 1, var: 1 }</code>
 
== Trivia ==
 
When a player is killed by a bear, one of the following messages will be displayed in the chat overlay:
* Player {0} unwisely poked a bear.
* Player {0} was torn limb from limb.
* Player {0} suffered a grizzly death.
* Player {0} made a fine polar meal.
* Player {0} was mistaken for a seal.


== Gallery ==
== Gallery ==


[[File:Bears-117.jpg|thumb|left|alt=A grizzly bear sits behind a sun bear, with a panda bear on one side and black bear on the other.  No polar bear is present.  The background is shrubland with distant trees.|teaser image from devlog for 1.17.0-pre1]]<br>
[[File:Bears-117.jpg|thumb|left|alt=A grizzly bear sits behind a sun bear, with a panda bear on one side and black bear on the other.  No polar bear is present.  The background is shrubland with distant trees.|teaser image from devlog for 1.17.0-pre1]]<br>




Confirmedusers, editor
1,283

edits