Changes

Jump to navigation Jump to search
163 bytes added ,  15:59, 23 March 2021
wild dogs reference
Line 225: Line 225:  
===Wild Animal Attacks===
 
===Wild Animal Attacks===
 
[[File:AnimalAttackDialogue.png|thumb|right|120px|Animal after attack]]
 
[[File:AnimalAttackDialogue.png|thumb|right|120px|Animal after attack]]
If an animal has been trapped outside (see [[#Animals Trapped Outside|previous section]]) with the barn or coop doors closed, there is a chance they will be attacked by a wild animal during the night.
+
If an animal has been trapped outside (see [[#Animals Trapped Outside|previous section]]) with the barn or coop doors closed, there is a chance they will be attacked by a wild animal during the night.<ref name="dogs" />
    
After the player goes to sleep, any events that will happen during the night (such as Bundle events) are calculated as normal. If no events are due to occur, there will be a 50% chance that the game will attempt to start a wild animal attack event. If this event proceeds, the game will go through all buildings to find a barn or coop that has their doors '''closed''' and has animals left outside.
 
After the player goes to sleep, any events that will happen during the night (such as Bundle events) are calculated as normal. If no events are due to occur, there will be a 50% chance that the game will attempt to start a wild animal attack event. If this event proceeds, the game will go through all buildings to find a barn or coop that has their doors '''closed''' and has animals left outside.
Line 538: Line 538:  
<ref name="addcrows">See <tt>Farm::addCrows</tt> in the game code.</ref>
 
<ref name="addcrows">See <tt>Farm::addCrows</tt> in the game code.</ref>
 
<ref name="dayupdate">See <tt>Farm::dayUpdate</tt> in the game code.</ref>
 
<ref name="dayupdate">See <tt>Farm::dayUpdate</tt> in the game code.</ref>
 +
<ref name="dogs">See <tt>SoundInTheNightEvent::SetUp</tt> and  and <tt>SoundInTheNightEvent::makeChangesToLocation</tt> in the game code.</ref>
 
</references>
 
</references>
  
2,280

edits

Navigation menu