Foraging

From PZwiki
Revision as of 23:11, 22 September 2022 by Therzok (talk | contribs) (Normalize forage radius)
GameplayPlayerForaging

Foraging is a survivalist skill and game mechanic allowing the ability to search for food and resources.

Template:TOC right

Investigate area & search mode

"Investigate Area" can be toggled via the spyglass icon. This brings up a new overlay showing the terrain type, position of the sun in the sky, and a button for activating "Search Mode". While Search Mode is activated, the screen will blur except for a "Target Radius" around the player which will grow as their foraging skill increases.

Usage

  • Hidden items spawn and despawn (seemingly randomly) regardless of player skill or time of day.
  • Items are more likely to spawn on features that resemble the item category; trash on trash piles, stones on cracked parts of roads, and so on.
  • As a player approaches within Target Radius distance of an item which they have the requisite skill level to find, an eyeball icon will appear over their character.
  • Remaining near the item for a short amount of time will make the item's icon appear. A small amount of xp will be granted at this point.
  • Double-clicking the item icon will gather it into the inventory. Right-clicking will give the option to gather or discard the item. Additional xp is granted regardless of which option is chosen.

Herbalist trait/magazine

  • The Herbalist Trait/Magazine grants the ability to detect the poison of berries and mushrooms and allows the crafting of poultices from medicinal herbs.

Foraging skill

The foraging skill determines:

  • Items that can be found
  • Search Radius
  • Chance of berries/mushrooms being poisonous <--ItemPoisonChance + ((10 - foraging level) * 5)
  • Available item categories for Search Focus

Search radius

  • Maximum Search Radius is 10 Squares.
    • With bonuses, the maximum radius is 15.
  • Minimum Search Radius is 3 Squares. (Decreased to 1.5 squares if the Darkness Penalty is higher than -50%)

Target Radius has various factors:

  • Foraging skill level
  • Occupation
  • Traits
  • Movement
  • Weather
    • Weather Effect * (100% - (Trait/ProfessionEffectReduction% added together))
    • Mushrooms, fish bait, medicinal plants, and wild plants are more likely to appear during rain, after rain, and at night.
    • Insects are more likely to appear at night.
    • Medicinal plants and wild plants are less likely to appear when there is snow on the ground
  • Darkness
    • Darkness Effect * (100% - (Trait/ProfessionEffectReduction% added together))
    • When Darkness Effect reaches 50%, new items cannot be spotted.
  • Moodles

Bonuses

Characters with certain skills and occupations can spot some types of items from further away than others. For example, the fitness instructor has a 25% bonus to finding junk food. This means if the foraging level, location, and light level give the fitness instructor a search radius of 8, the fitness instructor will be able to find junk food at a distance of 10 (8 * 125% = 10).

Chance of finding items

The chance of finding items in different categories is determined by: area searched, Occupations, Traits, search focus, weather, time of the day and current month.

Impact of various Factors

Foraging skill

  • Each level increases the radius by 0.5 squares.

Occupations

Name Points Foraging skill Radius bonus Ignore Weather Ignore Darkness Animals Fish bait Insects Berries Mushrooms Crops Fruits Vegetables Wild Plants Junk Food Herbs Medical Ammunition Weapons Forest rarites Firewood Junk Trash
VeteranVeteran -8 - +1.75 -33% -15% +5% - - - - - - - +10% - +20% - +50% - +5% - - -
File:BurgerFlipper.pngBurger Flipper 2 - - - - +5% - - +5% +15% - - - - +30% - - - - - - - -
File:Burglar.pngBurglar -6 - - -5% -15% - - - - - - - - - - - - +10% +10% - - +10% +10%
File:Carpenter.pngCarpenter 2 - - - - - - - - - - - - - - - - - - - +30% +10% -
File:Chef.pngChef -4 - - - - +10% - - +20% +50% - - - +15% +15% +15% - - - - - - -
File:Farmer.pngFarmer -4 0 +1.5 -33% -10% +10% - - - - +50% +10% +10% +5% +5% +5% - - - - - - -
File:Park Ranger.pngPark Ranger -4 2 +2 -33% -15% +10% - - +20% +10% - - - +50% - +75% - - - +10% - +5% +5%
File:Lumberjack.pngLumberjack 0 0 +1.25 -33% -15% - - - - +20% - - - +5% - +5% - - - - +50% - -
File:Fisherman.pngFisherman -2 1 +1 -40% -10% - +50% +50% - - - - - - - - - - - - - - -
Unemployed 8 0 +0.5 -10% -5% - - - - - - - - +5% +10% +5% - - - - - +10% +10%
File:Doctor.pngDoctor 2 0 0 0% 0% - - - - - - - - - - +10% +40% - - - - - -
File:Nurse.pngNurse 2 0 0 0% 0% - - - - - - - - - - +10% +40% - - - - - -
File:FitnessInstructor.pngFitness Instructor -6 0 0 0% 0% - - - - - - - - +5% +25% +15% +5% - - - - - -
File:Repairman.pngRepairman -4 0 0 0% 0% - - - - - - - - - - - - - - - - +33% +33%
File:Mechanic.pngMechanic -4 0 0 0% 0% - - - - - - - - - - - - - - - - +33% +33%
File:Electrician.pngElectrician -4 0 0 0% 0% - - - - - - - - - - - - - - - - +20% +20%
File:Engineer.pngEngineer -4 0 0 0% 0% - - - - - - - - - - - - - - - - +10% +10%
File:Metalworker.pngMetalworker -6 0 0 0% 0% - - - - - - - - - - - - - - - - +10% +10%
File:Construction Worker.pngConstruction Worker -2 0 0 0% 0% - - - - - - - - - - - - - - - - +10% +10%
File:Carpenter.pngCarpenter +2 0 0 0% 0% - - - - - - - - - - - - - - - +30% +10% -
File:Security Guard.pngSecurity Guard -2 0 0 -5% -10% - - - - - - - - - - - - +10% +10% - - +10% +10%
File:Police Officer.pngPolice Officer -4 0 0 -5% -10% - - - - - - - - - - - - +10% +10% - - +10% +10%
File:Fire Officer.pngFire Officer 0 0 0 +5% +10% - - - - - - - - - - - - - - - +20% +10% -

Positive traits

Trait name Points radius modifier Ignore darkness (%) Ignore weather (%)
File:TraitLucky.png
Lucky
-4 +1 - -
File:TraitFormerScout.png
Former Scout
-6 +1 - 13
File:TraitHunter.png
Hunter
-8 +0.7 5 7
File:TraitHiker.png
Hiker
-6 +0.7 3 13
File:TraitEagleEyed.png
Eagle Eyed
-6 +0.5 - -
File:TraitGardener.png
Gardener
-4 +0.4 - 13
File:TraitOutdoorsman.png
Outdoorsman
-2 +0.4 7 13
File:TraitCook.png
Cook
-6 +0.2 - -
File:TraitCatsEyes.png
Cat's Eyes
-2 +0.2 20 -
File:TraitNutritionist.png
Nutritionist
-4 +0.2 - -
File:TraitHerbalist.png
Herbalist
-6 +0.2 - 7

Negative traits

Trait name Points cost Radius modifier
File:TraitUnlucky.png
Unlucky
+4 -1
File:TraitAgoraphobic.png
Agoraphobic
+4 -1.5
File:TraitShortSighted.png
Short Sighted
+2 -2
  • The malus from Short Sighted can be removed by wearing glasses.

Movement type

Movement type Multiplier
Aim +33%
Sneak +10%
Walk 0%
Sprint/Run/Sneak run* -100%
  • Sprinting/Running after a certain amount of time will automatically disable Search Mode

Moodles

Moodle Effect in extreme cases
File:Moodle hungry.png Hungry Up to +50%
(for food items only)
File:Moodle endurance.png Endurance
File:Moodle tired.png Fatigue
Fear
Up to -75%
Takes the worst of the three.
File:Moodle panic.png Panic
File:Moodle stressed.png Stress
Up to -95%
Takes the worse of the two.
File:Moodle pain.png Pain
File:Moodle drunk.png Drunkeness
File:Moodle cold.png Has a Cold
File:Moodle sick.png Sickness
Up to -95%
Takes the worse of the four.

Weather & Darkness

Maximum Effect in extreme cases
Weather
(rain, snow, fog)
-75%
Darkness -95%
(if higher than -50%, cannot "spot" new items,
and minimum Search Radius becomes 1.5, instead of 3)
  • Having an Umbrella equipped will reduce the rain penalty by 90%.
  • Having an item that produces light (lighter, hand torch, flashlight) will negate the darkness effect.

Some items have modified chances if it rains, after it rains, if it snows, or if it is night time or day time. See the table below:


Item / Category Bonus if it rains Bonus after it rains Bonus if it snows Bonus at night time Bonus at day time
Stones Stone.pngRockSharpened.png +None None -50 None None
Berries
BerryBerryBerryBerryBerryBerry
+None None -10 None None
Mushrooms
MushroomGeneric1.png MushroomGeneric2.pngMushroomGeneric3.pngMushroomGeneric4.pngMushroomGeneric5.pngMushroomGeneric6.pngMushroomGeneric7.png
+35 +50 None +20 None
Fish Bait +50 +50 None +100 None
Medicinal Plants
PlantainComfreyWild GarlicCommon MallowBlack Sage
+50 +25 -50 +100 None
Wild Plants
Violets.png
+50 +25 -50 +50 None
Wild Herbs
File:Item HerbBasil.pngFile:Item HerbChives.pngFile:Item HerbCilantro.pngFile:Item HerbOregano.pngFile:Item HerbParsley.png
+50 +25 -50 +50 None
Fruits
Lemon.pngLime.pngPepperHabanero.pngPepperJalapeno.png
None None -10
-20(Watermelon)
-100(Banana)
None None
Vegetables None None from -10 up to -50
depending on the vegetable
None None
Sunflower Seeds -50 None -100 -100 None
Rosehips Rosehips +20 None -100 None None
Eggs & Wild Eggs
Wild EggsEggs
-20 None -20 None None
Worm Worm +100 None -100 +50 -50
Frog, Slug, Snail +100 None -100 -50 +50
Dead Animals
Dead RatSquirrelDead.pngRabbitDead.png
-10 None -10 None None
Insects
CricketGrasshopper.pngCockroach.png
+10
+20(Grasshopper)
+50(Cricket)
None -20 +200 None

Clothing

Type of clothing Penalty (Search Radius)
Items completely covering the head, face and eyes -75%
Items covering the face and eyes but not the head -50%
Items covering the face but with holes for the eyes -20%
Items covering one or both eyes (glasses, monocles...) -2.5%
  • Additionnally, the sum of all these Clothing Penalties cannot be higher than -95%.

Seasons

Items can have a +50% chance bonus or -50% chance malus depending on the month of the year, or they can be completely unavailable.

For example:

  • Firewood has a +50% chance bonus during Fall. (September, October, November)
  • Most berries, mushrooms, vegetables, medicinal herbs, wild herbs, wild plants, eggs, insects and animals can't be found in Winter. (December, January, February)
  • Beauty Berries, Holly Berries and Winter Berries can only be found during Fall and Winter. (From September to March)

Nature's Abundance (Sandbox Setting)

Setting Zone Density Multiplier
Very Poor
(A Really CD DA)
-75%
Poor -50%
Normal
(Apocalypse, Survivor, Builder)
+0%
Abundant +50%
Very Abundant
(Six Months Later, Initial Infection, Winter Is Coming)
+100%

Items

The foraging skill determines what types of items can be found. Most items can be found in all locations, however there are several categories of items that can be found which affects where they appear and how easy they are to find. For example, vegetables are more likely to appear in farmland areas, stones appear more often in roads, and trash is more likely to appear in trailer parks and city zones. Not all items in a category are equally likely to actually appear when an item from that category is selected. See below for more specific information.


Item Level Description
Berries
BerryBerryBerryBerryBerryBerryPoison BerryBlackberryBerryBerry
0 Appear in groups of 2-8. As foraging level rises, more varieties can appear and berries are less likely to be poisonous. Character can identify poisonous berries by starting with the herbalist trait, reading the herbalist magazine, or reaching level 7 in the cooking skill. Blackberry, Blueberry, Winter berry and Beautyberry are never poisonous (BlackberryBerry). Holly berries will always be poisonous ( Berry ).
Mushrooms
MushroomGeneric1.png MushroomGeneric2.pngMushroomGeneric3.pngMushroomGeneric4.pngMushroomGeneric5.pngMushroomGeneric6.pngMushroomGeneric7.png
0 Appear in groups of 1-4. Character can identify poisonous mushrooms by starting with the herbalist trait, reading the herbalist magazine, or reaching level 7 in the cooking skill. Mushrooms are significantly more likely to be poisonous than berries, and when they are poisonous they can be up to 5 times as poisonous as berries. No mushroom appearances are always safe or always poisonous. Can be used in stew, pie, soup, sandwich, salad, roasted vegetables.
Wild Herbs
File:Item HerbBasil.pngFile:Item HerbChives.pngFile:Item HerbCilantro.pngFile:Item HerbOregano.pngFile:Item HerbParsley.pngFile:Item HerbRosemary.pngFile:Item HerbSage.pngFile:Item HerbThyme.png
0 Appear in groups of 1-3. Herbs can be eaten for a small amount of nutrition, or added to most cooking recipes.
Wood
Branch.pngTwigs.png Logs.png
0 Branches and twigs appear in bunches of 1-3, while logs are always singular.
Stones
Stone.pngRockSharpened.png
0 Used to make Crafted Spears and stone tools.
Junk
MATERIALScrew.pngEmpty Notebook
0 This category contains a wide variety of useful materials such as nails, screws, magazines, tools, and bags. The herbalist magazine is much less common to find while foraging than any other magazine, by a factor of about 20 - this is not a good way to obtain it.
Junk food
Junk Food
0 This category contains most kinds of nonperishable foods, such as candy, chips, and canned foods.
Clothing
BaseballCapRed.png
0 This category contains nearly every clothing item; hats are somewhat more common than other articles of clothing, and clothing is in turn fairly more common than jewelry (including watches).
Junk weapons
Pen
0 This category is comprised of a variety of weapons, from the lowly pencil to the mighty katana. Firearms and high-end melee weapons are far less common (the highest tier pool has a ~1% chance of being selected).
Medical supplies 0 This category is made up of several objects used for healing, such as dirty bandages, ripped sheets, thread, and all types of pills.
Trash
PopEmpty.pngBrokenBottle.pngBaseball.pngAluminum.png
0 This category has many kinds of trash-type objects, such as empty pop cans, balls, garbage bags and plates, as well as all weapon repair items, a few types of scrap, and cooking tools.
Bait and insects
WormCricketGrasshopper.pngCockroach.png
0 Worms, crickets,

grasshoppers, and cockroaches can be used as fishing bait or food for the desperate.

Lemon grass
Lemon Grass
0 Appears in groups of 2-8. Eat to soothe bouts of food poisoning. Reduces sickness by a certain amount (12?). This will work even on outright poison foods, but only once per bout of poisoning.
Medicinal plants
PlantainComfreyWild GarlicCommon MallowBlack Sage
0 Appear in groups of 2-8. These plants require the character have the herbalism trait or have read the herbalism magazine. Plantain aids recovery, comfrey heals broken bones, wild garlic fights infection, common mallow relieves cold symptoms, black sage relieves pain, ginseng restores endurance. Plants that treat injuries must be made into poultices to be applied to a wound, similarly to disinfectant.
Wild plants
Violets.png
0 Appear in groups of 3-6. Violets and sunflower seeds can be eaten for nutrition.
Wild veggies
Leek.pngBroccoli.pngRadish.pngGrapeLeaves.png
2 Leeks, broccoli, red radishes and grape leaves may be eaten for nutrition.
Forest rarities
Forest rarites
2 Campfire kits, tent kit, tarps, and tent pegs.
Onion
Onion.png
3 Onions can now be found and eaten for nutrition.
Wild fruit
Cherry.png Rosehips
4 Appear in groups of 1-4. Cherries and rosehips may be eaten for nutrition. Rosehips do not spoil.
Ammunition
Ammunition
4 Ammunition from a wide variety of firearms. Usually loose bullets, sometimes magazines, very rarely an entire box.
Wild plants
Orange.png
5 Oranges and daikon (white radishes) can be eaten for nutrition.
Dead rat
Dead Rat
5 Can be butchered for meat.
Wild fruit
Lemon.pngLime.pngPepperHabanero.pngPepperJalapeno.png
6 Lemons, limes, habaneros, and jalapenos can be eaten for nutrition.
Wild plants
Grapes.png
7 Grapes, apple, lettuce, bell pepper, peanuts, pumpkin, and mango can be eaten for nutrition.
Wild animals 7 Frogs and dead birds can be butchered for meat.
Wild plants
Strawberries.pngGrapefruit.pngPear.png
8 Strawberries, grapefruits, peaches, pears, avocados, zucchini, and eggplant can be eaten for nutrition.
Eggs
Wild EggsEggs
8 Wild eggs and eggs can be cooked and eaten.
Dead squirrel
SquirrelDead.png
8 Can be butchered for meat.
Traps 8 Box traps, cage traps, crate traps, mouse traps, snare traps, and stick traps.
Forest rarities 8 Hiking bags and big hiking bags.
Wild Fruit 9 Bananas can now be found.
Wild Fruit 10 Pineapples and watermelons can now be found.
Dead rabbit
RabbitDead.png
10 Can be butchered for meat.


Search Focus

As characters gain levels in foraging, they can choose a focus while searching. This increases their chance to locate items in that category (at the expense of an item in the other categories). More focuses unlock as levels increase. Not all categories are equally affected by being focused, and the bonus from focusing is dependent on level. The percentages below are the chances that any given drop is overwritten by a focused item. For items that require a higher Foraging level to find in the first place, their chance of being overwritten is divided by the level requirement to find them. Some items, like ammunition and junk, are not included in any focus category.

Focus Level Available Minimum Focus Bonus Maximum Focus Bonus
Firewood 0 25% 40%
Stones 0 25% 40%
Berries 3 20% 33%
Mushrooms 3 20% 33%
Insects 4 15% 33%
Wild Herbs 4 10% 20%
Wild Plants 4 10% 20%
Trash 4 15% 25%
Animals 5 5% 15%
Crops 5 15% 33%
Medicinal Plants 6 10% 20%
Fruits 7 15% 33%

Item Types and Locations

Although most items can be found in most locations, the location can influence which items are available to be scavenged in a given area. Below is a list of weights for each item type by area. Note: these are not percentages.

Deep Forest Forest Grasslands Farm Land Farm Trailer Park Town Streets and Parking
Animals 15 15 25 20 20 5 5 3
Dead Animals 3 3 2 2 2 1 1 1
Berries 30 30 20 15 15 5 5 1
Fruits 15 15 15 25 25 10 5 0
Vegetables 10 10 15 15 15 5 10 0
Crops 5 5 10 25 25 5 5 0
Mushrooms 30 30 20 15 15 5 5 0
Fish Bait 10 10 15 20 20 5 5 1
Forest Rarities 1 1 0 0 0 0 0 0
Insects 25 25 25 15 15 15 15 10
Medicinal Plants 30 30 15 15 15 0 0 0
Wild Plants 15 15 10 7 7 2 2 0
Firewood 150 150 75 35 35 10 10 15
Stones 30 30 30 30 30 15 15 120
Junk Items 3 3 3 3 3 7 7 3
Junk Food 1 1 1 3 3 5 5 1
Clothing 1 1 1 3 3 7 7 1
Junk Weapons 1 1 1 1 1 3 3 3
Ammunition 1 1 1 1 1 2 2 1
Medical Items 0 0 1 0 0 3 3 1
Trash 5 5 10 5 5 40 40 30

Medicinal herbs

As of 41.68, both the Herbalist trait and magazine will allow the character to forage for medicinal herbs. Medicinal herbs that treat specific wounds, rather than full-body ailments, must be made into poultices and applied to the wound, while other herbs are simply eaten. A poultice can be made with a Mortar and Pestle. Medicinal herbs can be discovered even before the character has the skill to select it as the Search Focus.

Item Description
Black Sage
Black Sage
Provides mild pain relief. (-7 pain?)
Comfrey
Comfrey
Aids recovery from broken bones when applied as a poultice.
Common Mallow
Common Mallow
Eat to relieve cold and flu symptoms. (-5 cold sickness)
Ginseng
Ginseng
Eat to restore endurance. (2 endurance)
Lemon Grass
Lemon Grass
Eat to soothe bouts of food poisoning. Currently can be found by non-herbalists, and hence might not be considered a medicinal herb (bug?). (-12 sickness?)
Plantain
Plantain
Aids recovery from wounds when applied as a poultice.
Wild Garlic
Wild Garlic
Helps to fight against infection when applied as poultice.

Recipes

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
TZ CampfireKitWood.png
Campfire Materials
0.5 Carpentry none Logs.png
Log x2
(consumed)

(consumed)

TZ CampfireKitWood.png
Campfire Materials
0.75 Carpentry none Plank.png
Plank x3
(consumed)

(consumed)

Campfire.png
Campfire
0 XP none TZ CampfireKitWood.png
Campfire Materials
(consumed)


Stake.png
Stake
1.25 Carpentry none Branch.png
Tree Branch

(keep)

KnifeFlint.png
Stone Knife
0 XP none Branch.png
Tree Branch
(consumed)
RockSharpened.png
Chipped Stone
(consumed)

(consumed)
AxeStone.png
Stone Axe
0 XP none Branch.png
Tree Branch
(consumed)
RockSharpened.png
Chipped Stone
(consumed)

(consumed)
HammerStone.png
Stone Hammer
0 XP none Branch.png
Tree Branch
(consumed)
Rock.png
Stone
(consumed)

(consumed)
SpearStick.png
Crafted Spear
1.25 Carpentry Starting condition scales with player's carpentry.
(consumed)

(keep)

Splint.png
Splint
0 XP none
(consumed)

(consumed)

Frogmeat.png
Frog Meat
2.5 Cooking none
(keep)
Frog.png
Frog
(consumed)

TZ WoodenStick.png
Sturdy Stick x8
0 XP none
One of:
Hacksaw.png Saw
Handsaw.png Garden Saw

(keep)
Plank.png
Plank
(consumed)

Plank.png
Plank x3
0.75 Carpentry
(0.25 above level 3)
none Handsaw.png
Saw (tag)
(keep)
Logs.png
Log
(consumed)

MortarPestle.png
Mortar and Pestle
0.25 Carpentry Carpentry 2 Handsaw.png
Saw (tag)
(keep)
Plank.png
Plank
(consumed)

Logs2.png
Logs Stack
0 XP none Logs.png
Log x2
(consumed)
One of:
Rope.png Rope x2
Sheet Rope.png Sheet Rope x2

(consumed)

Logs3.png
Logs Stack
0 XP none Logs.png
Log x3
(consumed)
One of:
Rope.png Rope x2
Sheet Rope.png Sheet Rope x2

(consumed)

Logs4.png
Logs Stack
0 XP none Logs.png
Log x4
(consumed)
One of:
Rope.png Rope x2
Sheet Rope.png Sheet Rope x2

(consumed)

LogWall Carpentry.png
Log Wall
1.25 Carpentry none Hammer.png
Hammer (tag)
(keep)
Logs.png
Log x4
(consumed)
One of:
Ripped Sheets.png Ripped Sheets x4
Twine.png Twine x4
Rope.png Rope x2

(consumed)

History

Alpha
Build 41.60 *Replaced foraging system with "Search Mode"
Build 41.50 *Reduced fatigue due to foraging by a large amount.
Build 34 *Black and blue berry can no longer be poisonous
Build 33 *Randomized poisonous berries/mushrooms. Added herbalist trait and new plants complementing the skill.
Build 32.17 *Fixed being able to forage above ground level. (Issue #001926)
Build 32.7 *Fixed stacks of harvested plants and foraged food items not aging until the stack is expanded. (Issue #001823)
Build 32.4 *Added some map zones for foraging etc. Fixed overlapping zones. (Issue #001632)
Build 31.2 *Fixed calcul in the foraging action
Build 30 *Foraging for food during winter will be impossible, or really hard in cold months
Build 29 *Introduced, initially named Scavenge/Scavenging before being renamed to Forage/Foraging

See also