Changes

Jump to navigation Jump to search
1,401 bytes added ,  3 May
Added truffle crab spawn to "Notes" w/ spoiler tag. Added 1.6 history.
Line 22: Line 22:  
|[[Truffle]]
 
|[[Truffle]]
 
|{{Description|Truffle}}
 
|{{Description|Truffle}}
|{{Qualityprice|Truffle|625|iridium}}
+
|{{Qualityprice|Truffle|625|dsv=false}}
 
|}
 
|}
   Line 28: Line 28:     
===Location===
 
===Location===
* Pigs have a chance to dig up a truffle on every farm that they are left outside (more info below). This means that each day, the location of any generated truffles will be random, based on where the pig has walked. It is not necessary to stay on the farm for pigs to produce truffles.
+
* Pigs have a chance to dig up a truffle on every farm on a day that they are left outside (more info below). This means that each day, the location of any generated truffles will be random, based on where the pig has walked. It is not necessary to stay on the farm for pigs to produce truffles.
 +
**It may be beneficial to stay on the farm in the morning until multiple pigs have had a chance to spread out from each other, to increase the range of available tiles for each pig.
 
* Optionally, fences or other obstacles can be used to constrain the movement of pigs coming out of the barn. This can be useful in that it concentrates the area where they can produce truffles.
 
* Optionally, fences or other obstacles can be used to constrain the movement of pigs coming out of the barn. This can be useful in that it concentrates the area where they can produce truffles.
 
* Importantly, truffles cannot be produced on tiles that contain debris or other objects (not including [[Crafting#Decor|crafted flooring or pathing]]). Thus, to guarantee that a pig produces a truffle, ensure that it is travelling over mostly uncovered tiles during its daytime walk.
 
* Importantly, truffles cannot be produced on tiles that contain debris or other objects (not including [[Crafting#Decor|crafted flooring or pathing]]). Thus, to guarantee that a pig produces a truffle, ensure that it is travelling over mostly uncovered tiles during its daytime walk.
* Note that while the truffle appears front of the pig, the tile checked for debris is where the pig stands. If the tile in front of the pig is occupied (''e.g.,'' by a [[Crafting#Fences|fence]]) the truffle is instead placed one tile further. If that tile is occupied, the truffle is placed one tile further, and so on. This can lead to truffles being spawned outside a fenced area.
+
* Note that while the truffle appears in front of the pig, the tile checked for debris is where the pig stands. If the tile in front of the pig is occupied (''e.g.,'' by a [[Crafting#Fences|fence]]) the truffle is instead placed one tile further. If that tile is occupied, the truffle is placed one tile further, and so on. This can lead to truffles being spawned outside of a fenced area.
    
===Prerequisites for Truffle Generation===
 
===Prerequisites for Truffle Generation===
A pig will only produce a truffle if all of the following are true:
+
A pig will produce a truffle only if all of the following are true:
    
* the pig has been fed
 
* the pig has been fed
Line 40: Line 41:  
* it is not raining/storming
 
* it is not raining/storming
 
* it is not winter
 
* it is not winter
* there are available tiles outside with which to place a truffle
+
* there are tiles available outside upon which to place a truffle
    
===Chance to Produce the First Truffle===
 
===Chance to Produce the First Truffle===
Line 64: Line 65:     
==Reproduction==
 
==Reproduction==
Pigs, like all other animals except [[rabbit]]s, have a low chance to reproduce and can produce baby pigs. The more animals there are inside the same [[barn]], the higher the chance an animal will give birth.
+
Pigs, like [[cow]]s, [[sheep]], and [[goat]]s, have a low chance to reproduce and can produce baby pigs. This is true even if [[Marnie]] refers to the pig with male pronouns at the time of purchase. The more animals there are inside the same [[barn]], the higher the chance an animal will give birth.
 +
There is no indication that a pig is pregnant except the morning after the baby pig has been born. The player will receive a notice at the bottom of the screen before the day starts, stating "During the night, [parent's name] gave birth to a baby pig."
    
==Selling==
 
==Selling==
Line 70: Line 72:     
To sell a coop or barn animal, right-click the animal after petting. The friendship/mood interface appears. Move the cursor over the gold coin button at the right to see how much you can sell the animal for. Click that button and the confirmation that follows to complete the sale.
 
To sell a coop or barn animal, right-click the animal after petting. The friendship/mood interface appears. Move the cursor over the gold coin button at the right to see how much you can sell the animal for. Click that button and the confirmation that follows to complete the sale.
 +
 +
==Notes==
 +
{{Spoiler}}
 +
*Pigs have a 0.2% chance to dig up a [[Truffle Crab]] instead of a Truffle.<ref name="trufflecrab" />
 +
 +
==Trivia==
 +
*Pigs and [[rabbit]]s are the only two types of livestock in the game for which both male and female animals are possible. However, reproduction works the same for the pig regardless of its sex.<ref name="gender" />
    
==References==
 
==References==
 
<references>
 
<references>
 
<ref name="extratrufflechance">See the infinite geometric series calculation on the [[Talk:Pig#Truffles Per Day|talk page]].</ref>
 
<ref name="extratrufflechance">See the infinite geometric series calculation on the [[Talk:Pig#Truffles Per Day|talk page]].</ref>
 +
<ref name="gender">The gender of animals is set by <samp>FarmAnimal::isMale</samp> in the game code. The only effect in-game is the pronoun used in some dialogs (''e.g.,'' when [[Marnie]] says she'll "send little [Name] to his/her new home"). See <samp>PurchaseAnimalsMenu::marnieAnimalPurchaseMessage</samp> and  <samp>FarmAnimal::getMoodMessage</samp>.</ref>
 +
<ref name="trufflecrab">See <samp>FarmAnimal::DigUpProduce</samp> in the game code.</ref>
 
</references>
 
</references>
   Line 80: Line 91:  
{{History|1.2.26|Fixed bug where they wouldn't produce [[Animals#Produce|goods]] at high happiness.}}
 
{{History|1.2.26|Fixed bug where they wouldn't produce [[Animals#Produce|goods]] at high happiness.}}
 
{{History|1.5|Crafted flooring/paths no longer prevent pigs from producing truffles.}}
 
{{History|1.5|Crafted flooring/paths no longer prevent pigs from producing truffles.}}
 +
{{History|1.6|Can now rarely dig up Truffle Crabs.}}
    
{{NavboxAnimals}}
 
{{NavboxAnimals}}
992

edits

Navigation menu