Changes

Jump to navigation Jump to search
294 bytes added ,  16:28, 9 April 2022
no edit summary
Line 240: Line 240:  
==Selling Animals==
 
==Selling Animals==
 
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 the animal can be sold 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 the animal can be sold for. Click that button and the confirmation that follows to complete the sale.
 +
 +
The sell price of a farm animal is <code>Price * ((Friendship / 1000) + 0.3)</code>.<ref name="sellprice" />
 +
<br />"<samp>Price</samp>" is read from the game's data file <samp>Data/FarmAnimals.xnb</samp>.
    
==Coop Animals==
 
==Coop Animals==
Line 540: Line 543:  
<ref name="dayupdate">See <samp>Farm::dayUpdate</samp> in the game code.</ref>
 
<ref name="dayupdate">See <samp>Farm::dayUpdate</samp> in the game code.</ref>
 
<ref name="dogs">See <samp>SoundInTheNightEvent::SetUp</samp> and <samp>SoundInTheNightEvent::makeChangesToLocation</samp> in the game code.</ref>
 
<ref name="dogs">See <samp>SoundInTheNightEvent::SetUp</samp> and <samp>SoundInTheNightEvent::makeChangesToLocation</samp> in the game code.</ref>
 +
<ref name="sellprice">See <samp>FarmAnimal::getSellPrice</samp> in the game code.</ref>
 
</references>
 
</references>
  
107,433

edits

Navigation menu