Changes

Jump to navigation Jump to search
1,361 bytes added ,  00:04, 9 October 2023
→‎Location: Several minor grammar improvements.
Line 2: Line 2:  
|image      = Pig.png
 
|image      = Pig.png
 
|buyprice  = 16000
 
|buyprice  = 16000
|building  = {{name|Deluxe Barn|link=Barn{{!}}Deluxe Barn}}
+
|building  = {{name|Deluxe Barn}}
 
|produce    = {{name|Truffle}}
 
|produce    = {{name|Truffle}}
 
}}
 
}}
The '''Pig''' is an [[Animals|animal]] that lives in a [[Barn|Deluxe Barn]]. Pigs can be purchased at [[Marnie's Ranch]] for {{Price|16000}}. Pigs can [[Animals#Animal Births|reproduce]] themselves.
+
The '''Pig''' is an [[Animals|animal]] that lives in a [[Barn|Deluxe Barn]]. Pigs can be purchased at [[Marnie's Ranch]] for {{Price|16000}}. Pigs can become pregnant and give [[Animals#Animal Births|birth]].
    
==Produce==
 
==Produce==
:''For detailed mechanisms, see [[Animals#Produce|Animals Produce]]''
+
{{main article|Animals#Produce}}
Pigs who eat every day mature after 10 nights have passed. A mature and fed pig produces a [[Truffle]] every day, if the conditions are met.
+
Pigs who eat every day mature after 10 nights have passed. A mature and fed pig produces [[Truffle]]s every day, if the conditions are met.
    
A [[Truffle]], which sells for {{Price|625}}, can be placed in an [[Oil Maker]] to produce [[Truffle Oil]], which sells for {{Price|1065}}.
 
A [[Truffle]], which sells for {{Price|625}}, can be placed in an [[Oil Maker]] to produce [[Truffle Oil]], which sells for {{Price|1065}}.
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.
+
* 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.
* Optionally, you can use fences or other obstacles to constrain the movement of pigs coming out of the barn. This can be useful in that it concentrates the area that you have to look for the 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.
* Importantly, truffles cannot be produced on tiles that contain debris or other objects (not including [[Crafting#Decor|crafted flooring or pathing]]). Thus, in order to guarantee that a pig produces a truffle, you must ensure that during its daytime walk, it is travelling over mostly uncovered tiles.
+
* 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.
 +
* 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 39: 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
 
  −
Note that you do not need to stay on the farm screen for pigs to produce truffles.
      
===Chance to Produce the First Truffle===
 
===Chance to Produce the First Truffle===
Line 61: Line 61:     
===Gathering Frequency===
 
===Gathering Frequency===
* Truffles that are not gathered will stay on the ground until the next day. This means that you do not necessarily have to gather truffles from your pigs every single day. Instead, you can let them build up, and gather them all at once.
+
* Truffles that are not gathered will stay on the ground until the next day. This means that a player can continually let Truffles build up, and then collect them all at once.
 
* However, truffles that are not gathered on the 28th day of a season disappear on the following morning (the 1st day of the new season).
 
* However, truffles that are not gathered on the 28th day of a season disappear on the following morning (the 1st day of the new season).
    
==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 71: 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.
 +
 +
==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>
 
</references>
 
</references>
    
==History==
 
==History==
{{history|1.0|Introduced.}}
+
{{History|1.0|Introduced.}}
{{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.}}
    
{{NavboxAnimals}}
 
{{NavboxAnimals}}
130

edits

Navigation menu