A Wiki in the Desert
Log in

Pig

From A Wiki in the Desert
Revision as of 04:15, 22 September 2021 by Peacefulness (talk | contribs) (→‎T10 Feed ratio tests: Mendeshian)
Pig
Pig
(Item)


Wild Pigs

Individual pigs spawn in grassy areas.

A player with an equipped knife and an available focus stat can attempt to slaughter a pig. If successful, the bacon, ham, and/or fat, are placed in the player's inventory. If you are not successful, the main will display You failed to kill the {Boar¦Sow} and as you tried it ran away! and the pig will disappear. If you don't have an available focus stat, the main will display Ow! You accidentally stab yourself instead of the {Boar¦Sow}, your focus is all over the place.

Any player can lead the pig by dropping dried wheat within 7 coordinates. Roasted wheat will also work.

  • I found that a wild pig became unresponsive to additional wheat after consuming 40 dropped wheat. -Donk79 (observed in Tale 8 on Year 3, Peret IV 28, in Arsinoe)
  • Moved a wild pig >1,000 coords at T9. Took me >25 mins real time. -Catote

Breeds

There are twelve known breeds of pig. The data for bacon, ham and fat is from pigs slaughtered in the wild. Those killed in a swinery produce more, at the expense of the survivors' happiness.

Pig rarity can be sorted into three categories: Common, Uncommon, and Rare. Common pigs are more likely to be found in the wild, have broader feeding ranges, reproduce more often, are less likely to cause fence damage, and search in a smaller range when asked to hunt for clay.

Don't stress out too much trying to figure out which pigs are "common" and which are "uncommon". The pig system was written by more than one developer, and they used two different systems to classify the pigs. For Tale 8, "how common a pig is" is not the most important thing to know. It may be more important in future tales. When it comes to finding a wild pig the rarest ones may be Bubastian, Letolian, Naqadish, and Silenian.

Breed Appearance Bacon
Wild (Sty)
Ham
Wild (Sty)
Fat
Wild (Sty)
Akorisinian Akorisinian.png 2 2 0
Athrinbyan Athrinbyan.png 4 (16) 2 (8) 0
Bubastian Bubastian.png 1(4) 1(4) 1(4)
Ikenial IkenialSow.jpg 0 6 4
Koptish NrkKoptish.png 1 (4) 3 (12) 0 (0)
Letolian LetolianSow.png 0 3 0
Mendeshian Mendeshian.png 2 (8) 2 (8) 8 (8)
Naqadish NaqadishBoar.jpg 1 4 1
Qusian Qusian.png 4 1 0
Settenuen Settenuen.png 9 (36) 3 (12) 0 (0)
Silenian Silenian.PNG (24) (0) (4)
Windsnyer Windsnyer.JPG 3 (12) 1 (4) ? (0)


Wild slaughter Bacon, Ham, Fat outside parentheses. In-Sty slaughter is inside parentheses.

Domestic Pigs

A player with a lasso in their inventory and ranching level 2 can put a pig into a Swinery, as long as there are fewer than 15 pigs in residence. If there are multiple swineries nearby, the pig will go into the one closest to the player. Once a pig is installed in a swinery, it can be named, and anyone with access to the swinery can remove a pig as a pet.

Swineries

Raising pigs is not for the casual Egyptian! Pigs' dietary needs are specific, they vary by breed, and improperly fed pigs can cause serious problems. Refer to the section on Happiness.

Food and Water Trough

Full Trough.png

A swinery needs two troughs, one for food and the other for water. They are both accessed by clicking anywhere on the swinery. The Water portion begins with a capacity of 500 and can be upgraded to twice that size. The Food portion has a capacity of 10,000 units of feed, divided in three sections, one for each feed type.

  • 1 db spoiled food = 13 units
  • 1 db wheat = 5 units
  • 1 db sour milk = 7 units

Every three server hours, or if you prefer, every 9 game hours on the in-game clock (refer to time), pigs will check the trough for food to see if the ratio of ingredients is within their preferred range. If so, there is a 50% chance they will consume a random ingredient; then a 50% chance they will consume a second, different ingredient; then a 50% chance they will consume the third, remaining ingredient. Each pig (of that breed) will consume 1-3 units of each ingredient chosen. Note that these are units of the original food ingredient, not the feed number, so a pig eating 1 unit of spoiled food will reduce feed by 13.

Pigs eat in a predetermined sequence according to breed. Efforts to determine that sequence (in Tale 8) are here.

When housed together in T9, Koptish ate before Ikenial, and Akorisinian ate before Athrinbyan.

T10 Feed ratio tests

Breed %
Spoiled
Food
%
Wheat
%
Sour
Milk
Additional Notes
Athrinbyan 42 23 33 hungry
Athrinbyan 20 63 16 hungry
Koptish 12 69 17 hungry
Koptish 34 40 25 hungry
Koptish 42 23 33 hungry
Ikenial 18 - 41 33 - 62 19 - 34 ate
Ikenial 0 85 14 hungry
Bubastian 37 32 29 hungry
Bubastian 20 63 16 hungry
Bubastian 34 40 25 hungry
Silenian 33 33 33 ate
Akorisinian 33 33 33 ate
Akorisinian 34 40 25 ate
Mendeshian 35 32 32 hungry
Mendeshian 29 44 26 hungry
Mendeshian 18 64 16 hungry
Koptish 10 75 13 hungry
Koptish 24 62 13 hungry
Windsnyer 37 32 29 ate
Koptish 33 33 33 ate
Silenian 24 41 33 hungry
Mendeshian 30 35 34 test
Breed
Breed

Tale 8 & 9 Data: Successful Feed Ratios

The trough interface indicates the mix of the three feed types, listed as a percentage of each kind. Because of rounding, the percentages will normally not add up to 100%.
Numbers in bold: When testing with previously successful values for the other two food types, the pigs have been "Hungry" when the ratio is past the number in bold. (Don't let your trough's values go past that point, your pigs Will be hungry.)

T8 and 9 T10? Good %
Spoiled
Food
Good %
Wheat
Good %
Sour
Milk
Additional Notes
Akorisinian 25-50 10-64 10-55
Athrinbyan 40-49 20-29 30-39
Bubastian 25-40 30-44 25-34
Ikenial 20-69 20-69 0-20 Leave Sour Milk at 0% with caution. Sometimes they will show as "hungry"
Koptish 0-40 34-89 10-37 Leave Spoiled Food at 0% with caution. Sometimes they will show as "hungry"
Letolian 0-40 10-90 10-90 Leave Spoiled Food at 0 with caution.
Mendeshian 20-34 60-74 5-19 74-75% should be the upper limit for wheat
Naqadish 60-85 5-20 10-25
Qusian 10-48 19-75 10-60
Settenuen 30-38 30-38 30-38 It should be possible to feed this pig at 30-39 for all three feed types, as long as no type falls below 30%
Silenian 10-89 0-40 10-86 Leave Wheat at 0% with caution. Sometimes they will show as "hungry"
Windsnyer 13-78 10-71 10-68 At 10% to 80%, any feed levels should be acceptable.

Additional fine print on pigs that will eat with one feed type at 0%:

  • First, the pig looks at the ratio of all three feed types. Some breeds will accept a trough that has a feed type at 0%.
  • Second, if the ratio is acceptable, the pig decides which foods it will eat. It will decide yes/no for each of the three types.
    • If the pig chooses "yes" for a food at 0%, it will be marked as "hungry" and may damage fences, even though all three feed types are within its tolerance.
  • Then each pig of that breed will eat 1-3 units of the foods chosen.

Tale 8 & 9 Data: Useful Combinations

A Windsnyer sow should be a good mate for any rare boar, because of its wide range of acceptable feed ratios. Windsnyer sows reproduce quickly, and eventually they should produce a piglet of the boar's breed, even though the offspring usually follow the breed of the sow.

Now that we have a good idea of the proper feed range for many breeds, we can successfully put multiple breeds in the same pen. Here are some that will happily eat from a carefully filled trough:

Breeds Spoiled Food % Wheat % Sour Milk % Notes
Koptish + Settenuen 30-39 34-39 30-37 Minimal adjustments needed; with a large quantity of food, pigs won't need maintenance for many days
Settenuen + Windsnyer 30-38 30-38 30-38 (This does not seem to work for me. Seems like Windsnyer eats first and always takes ratios out of range for Settenuen before it eats. Maybe needs a much larger quantity of food? --Ashen)

Yes, the larger the quantity of food, the harder it is for the pigs to push it out of balance. Spatulus (talk) 15:41, 5 November 2018 (UTC)

Settenuen + Akorinsian 30-38 30-38 30-38
Naqadish + Windsnyer 67-80 10-18 10-21
Qusian + Windsnyer 10-48 19-75 10-60
Athrinbyan + Akorisinian 40-49 (44 ideal) 20-29 30-39 (33 ideal)

The following four combinations cover most of the pigs being tended by players

Breeds Spoiled
Food %
Wheat % Sour
Milk %
Notes
Athrinbyan + Qusian 40-48 20-29 30-39
Koptish + Mendeshian 20-34 60-74 10-19
Akorisinian + Settenuen 30-38 30-38 30-38
Ikenial + Windsnyer 20-62 32-64 10-19

Fence Condition

If the ratio of feed types in the trough is not within a pig's tolerance, the pigs of that breed will be "hungry" and will damage the fence as they attempt to escape and find food. This mechanic has not been thoroughly tested, as no players have reported what happens when they are brave enough to stand aside and let their pigs starve, escape, and raid their nearby warehouses, chests, boxes, grain silos, storage barrels, aging racks, herb stash, and any other places to store items that are edible and can be cooked with.

A fence that is undamaged will have a full green status bar. A moderately damaged fence will have crosspieces at a diagonal. If the fence condition drops below 50%, the status bar turns red, and sections of fence will be missing. Rare pigs should damage a fence faster than common pigs. Piglets do not cause damage, but will still mature into fence-destroying adults, even if not fed.

"Repair Fence" will be visible in the menu of a swinery with a damaged fence. Materials needed have included wood, boards, rope, and nails.

Breeding and Crossbreeding

When a male and a female of any breed are in the same swinery, they will reproduce, as long as 1) both parents are properly fed 2) there is water in the trough and, 3) there are 15 or fewer pigs in residence. The breed of the offspring usually follows the sow, but occasionally, piglets will be the boar's breed. Unfortunately, two pigs of different breeds will not crossbreed to produce a third breed, but more pigs of both parents' breed can eventually be produced.

A swinery with 15 or fewer pigs, and both sexes, will produce one more litter of piglets, and this can result in a swinery with over 30 pigs. Once there are 16 or more pigs, they do stop reproducing.

Common pigs will produce piglets faster than rare pigs. The fertility rate is linked to the breed of the sow.

Pigs can be prevented from breeding. Don't water them. A swinery containing 15 properly fed and watered adult pigs (7 boars, 8 sows) has simultaneously produced 14 piglets.

Pig Health

Hungry Pig.png

  • Thirsty - When the water trough is empty, all pigs in the swinery will be labelled as "Thirsty". Pigs should not die in a swinery as long as there is water in their trough, but they will attempt to escape before starving to death. A swinery with 28 pigs has emptied out its water trough within 24 hours.
  • Hungry - Pigs attempt to feed every 3 server hours (every 9 in-game hours). If the feed ratios in the trough are not aligned with that breed's preferences, clicking on any pig of that breed will display "Hungry" until the next successful feeding cycle.
  • Starving! - A pig that is "Hungry" for an undetermined number of feeding cycles will also display "Starving!". These pigs will damage the fence and eventually escape the swinery and raid nearby storage containers for anything edible. This has not been fully tested, but it assumed that either the owner of the storage unit or the owner of the swinery will be notified in some manner. Any player should be able to slaughter a roaming, starving pig, but the pig should not otherwise despawn until its need for food is satisfied.

Even under negative living conditions, piglets will mature into adults. Hunger and Thirst do not seem to negatively affect any pig's happiness at this time.

Happiness Meter

Wild.png
Clicking on an individual pig will bring up a menu that includes a "Happiness" status bar. All wild pigs should have a bar at "neutral" with a thin black line at the midpoint, zero. Each time a domestic pig eats, it should gain happiness. Positive happiness reveals a blue bar, and negative happiness shows a red bar. Happiness of +100 and the meter is green.

Each time a pig living in a swinery is slaughtered, all the remaining pigs which live there have a happiness reduction of 20. A pig not living in that swinery does not seem to notice the event.

Asking a pet pig to hunt reduces its happiness slightly each time. Once the happiness drops below neutral, there is an increasing risk that the pig will "run away" (despawn) with each work request. Pigs with happiness at -100 (full red) have been taken out as pets and have not spontaneously despawned.

Happiness does not seem to affect or be affected by:

  • reproduction
  • piglets growing into adults
  • fence damaging
  • being thirsty, hungry, or starving (except that eating from the trough does increase happiness)
  • taking a pig as a pet

Pet Pigs

Any adult pig in a Swinery can be taken as a pet and it will then follow you like a cat until you either put it in a swinery, release it through its utility menu, or it despawns from being overworked. Asking a pig to "work" (currently, hunting for clay) will gradually reduce its happiness. Once its happiness is "in the red" there is an increasing risk that it will despawn each time you ask it to work.

From Malard on 31 Oct 2018 (that makes it official, right?): "okay, so i am going to publish the actual mechanic here, because i dont want this to be black box

   if (Pig.Happiness < 0) {
       var runawayChance = TRTwister(0, 100); --Roll between 0 and 100
       if (Pig.Happiness + runawayChance < 0) {
           return (1); --Runs Away
       }
   }
   return (0); --Stays

basically you have a swing, -100 to +100
once the pigs happy goes below 0, then each time you do an action (i.e. search for clay or mushrooms [in the future]) then it will run this bit of code
essentially the lower the unhappy the more likely the pig will run away. its very simple"

(Logging off with a pet pig will not cause issues, but if that pet it a sow, it will appear to be a boar from that time forward. Use caution if you house your pigs by gender!) This bug was fixed in Tale 8. Please file a dev call if it is observed again.

Getting your pet pig to leave the swinery can be a challenge. Be patient. Eventually it will follow you instead of wandering around its happy home. They have a very strong attachment to their food source!

Soft Clay Patches

Oddly, pigs are pretty good at finding hidden patches of Soft Clay that are not visible from the ground, as Scientists have been unable to devise suitable stable mechanisms for building on Clay. Soft Clay patches are needed to find suitable locations for building Raeli ovens. Some pigs will find patches other breeds cannot find. They prospect for patches that are suitable for building an oven on. So its a good way to basically work out what a patch of ground can spawn.

Searching: Results show up in Main, but the player needs to locate the pig when it finds clay. The pig has dug a hole that has the same appearance as a hole that you'd dig for stones. It disappears after around 10 seconds, then the pig rejoins you. As there is a delay on pigs following you already, this can be missed as you might think the pig is just taking a while to catch up.

Each breed of pig may discover a different type of clay. Raeli ovens built on different types of clay will not interfere with each other, but similar types will. In other words, an oven built on Koptish pig clay will interfere with an oven on another nearby Koptish clay patch. An oven on Koptish clay can be built directly next to an oven on Mendeshian clay, however. The game will allow you to build two Raeli Oven Structures very close to one another, even if the soft clay patches were identified by the same breed of pig. However, when attempting to install the dredging mechanism, you will receive the message: "As you inspect the ground below, you notice another dredging system from a nearby oven that will make it impossible to Install a dredge here." Tearing down the preexisting oven resolves this conflict.

Each breed of pig has a different search radius. According to Malard, the smallest range is 352 feet, and the largest is 704 feet. (A coordinate is 16 feet.) Players have reported that some pigs can find clay patches farther away than their handler can see them.

Tale 8 Data:

T8 and 9 T10 Range to find Clay Patch
Windsnyer 22 coords
Qusian 24 coords
26 coords
Koptish 28 coords
30 coords
32 coords
Akorisinian 34 coords
Naqadish 36 coords
Ikenial 38 coords
Athrinbyan 40 coords
Mendeshian 42 coords
Settenuen 44 coords


Mushrooms

This concept has not been implemented yet.
Pigs can find wild mushrooms when you take them out for a walk. The rarer the pig type the rarer the mushrooms they will likely find. Mushrooms should spawn outside of their usual time, but it will generally follow the rules of ecology.

Guilds

Tale 8 Data: Comments and Additional Observations

All reports of piglets have been same breed as the parent sow. There's no reason to believe that cross-breeding is implemented or working yet or, given that they're not eating yet and they're supposed to be fed/happy to breed, that the sows weren't already pregnant at time of capture. I wouldn't trust any breeding or food requirement data until they're eating and other things pigs are supposed to do are working. - Ashen (11 Oct 2018)

I have had piglets from that are the breed of the boar. Eugenius(18 Oct 2018)

Slaughtering does not seem to be an effective means of birth control yet. (Not sure if emotions are "working") 6 boars killed Peret IV-23, Leaving 1 boar, 2 sows. On next check of the swinery on Peret IV-25, there were 7 piglets.

Slaughtering a pig in a pen gives the same output, regardless of whether it is a sow or a boar.

When feeding, if the initial ratio % is within their accepted range, a herd of pigs can eat the remaining % of an ingredient in their trough, leaving it at 0%. The pigs may be labelled as "Hungry" even though they did feed. I am assuming that there was an insufficient quantity of the desired ingredient, so they ate what was left. (Peacefulness 25 Oct 2018)

Regardless of whether it eats, a pig seems to drink 2 units of water each time it checks the trough for its preferred foods. (This is incorrect. Water is consumed approximately once per hour (2 per pig) and the food cycle happens every (3rd? 4th? please confirm) water cycle. -Idris)

The food cycle occurs every three server hours, which should be every 9 hours on the in-game clock. (Peacefulness 28 Oct 2018)

  • Ikenials have fed at a trough where the truncated sour milk value is 0. They have consumed sour milk in the past, so it is assumed that there is still some in the trough, but they are not labelled as "hungry" because milk was not chosen at their most recent feeding. (Peacefulness, 24 Oct 2018)
  • Pigs can choose not to eat even if foods are in their required range, per Malard in regards to a pig that hadn't touched the food very long time but still wasn't hungry. They seem to remain or return to not-hungry just as if they ate even if they choose not to. (Ashen, 31 Oct 2018)

Unless you're trying to crossbreed pigs for rare breeds (Pigs cannot be crossbred for rare pig types), allowing pigs to breed may be a bad thing. Consider that:

  • Piglets eat as much as adults
  • Hungry piglets damage fences as quickly as adults Per Malard, piglets do not damage fences. However, an error in the code (now corrected) was causing fences to be damaged more rapidly than intended.
  • Piglets cannot be moved
  • Killing the excess pigs will anger other pigs

They're a big liability, and with limited use for the meat products, there don't seem to be any positives outside crossbreeding. Spatulus 11:04, 26 October 2018 (UTC)

A swinery with 28 pigs will empty out its water trough in fewer than 24 hours. They did have an adequate quantity of food, so even though they were marked "Thirsty" they were not yet hungry. No fence damage this time. (Peacefulness 01 Nov 2018)

A pet pig can be released. This gives the message "Your Boar ran away, you try to give chase, but it's too late!" There is an "Are you sure?" confirmation dialog box.