animals

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
animals [2020/03/25 00:04]
saph Allowed for sorting the animals table by the different columns
animals [2020/04/07 02:35]
aster
Line 23: Line 23:
 <h2><span class="mw-headline" id="Attacks">Attacks</span></h2> <h2><span class="mw-headline" id="Attacks">Attacks</span></h2>
 <p>The likelihood of an animal attacking depends on how naturally aggressive and attack chance towards people is per hour per person with aggression. <p>The likelihood of an animal attacking depends on how naturally aggressive and attack chance towards people is per hour per person with aggression.
-An animal attack can be on a person, on a project thereby decreasing its progress after having disrupted it, or on a domesticated animal. Animals attacking people can put them into an incapable state if they are low on health and standing outside. Animals will not finish off an incapable person. Tamed animals have a natural regeneration rate of +6 health per day. Barns allow them to heal +12 health per day. Walls completely remove attacks from wild animals against domesticate animals.<br><br>+An animal attack can be on a person, on a project thereby decreasing its progress after having disrupted it, or on a domesticated animal. Animals attacking people can put them into an incapable state if they are low on health and standing outside. Animals will not finish off an incapable person. Tamed animals have a natural regeneration rate of +6 health per day. Barns allow them to heal +12 health per day. Walls completely remove attacks from wild animals against domesticated animals.<br><br>
 Characters are safe from animal attacks in buildings and <a href="http://www.marosia.com/doku/doku.php?id=travel#Vehicle_List"> vehicles</a>, but not on mounts. Characters are safe from animal attacks in buildings and <a href="http://www.marosia.com/doku/doku.php?id=travel#Vehicle_List"> vehicles</a>, but not on mounts.
 </p><p>If an animal attack nearly brings a character into an incapable state, they will incur an animal attack delay. There is then a 3 hour delay where animals will not attack that character, providing time for an in-character reaction. Animal attacks on that character resume after 3 hours. A delay will only ever be able to be triggered within a 24 hour period that has not had a previous delay already instantiated in that time-frame. </p><p>If an animal attack nearly brings a character into an incapable state, they will incur an animal attack delay. There is then a 3 hour delay where animals will not attack that character, providing time for an in-character reaction. Animal attacks on that character resume after 3 hours. A delay will only ever be able to be triggered within a 24 hour period that has not had a previous delay already instantiated in that time-frame.
Line 91: Line 91:
 <h2><span class="mw-headline" id="Animal_List">Animal List</span></h2> <h2><span class="mw-headline" id="Animal_List">Animal List</span></h2>
 <div class="table-responsive"> <div class="table-responsive">
-<table class="table table-bordered table-striped table-hover">+<table id="animalTable" class="table table-bordered table-striped table-hover">
   <thead>   <thead>
     <tr>     <tr>
Line 260: Line 260:
  
             if (dir == "asc") {             if (dir == "asc") {
-                if (x.innerHTML.toLowerCase() > y.innerHTML.toLowerCase()) {+                if ((!isNaN(x.innerHTML) && parseFloat(x.innerHTML) > parseFloat(y.innerHTML)) || 
 +                        (isNaN(x.innerHTML) && x.innerHTML.toLowerCase() > y.innerHTML.toLowerCase())) {
                     shouldSwitch = true;                     shouldSwitch = true;
                     break;                     break;
                 }                 }
             } else if (dir == "desc") {             } else if (dir == "desc") {
-                if (x.innerHTML.toLowerCase() < y.innerHTML.toLowerCase()) {+                if ((!isNaN(x.innerHTML) && parseFloat(x.innerHTML) < parseFloat(y.innerHTML)) || 
 +                        (isNaN(x.innerHTML) && x.innerHTML.toLowerCase() < y.innerHTML.toLowerCase())) {
                     shouldSwitch = true;                     shouldSwitch = true;
                     break;                     break;
  • animals.txt
  • Last modified: 2022/03/17 16:12
  • by aster