Skip to content

Inventory and carrying

Your bag is on one side of the screen and what lies within reach on the other, and you drag items between them. Weight is the only limit. Carrying too much slows and tires you, and a pickup is refused only past twice your capacity. Weapons sit on the belt, in a holster or on the back, ready to draw, and every weapon and tool wears with use until you repair it.

In the game

The bag and what is within reach

The bag keeps one stack per item type, except weapons, tools and the blowtorch, which have one row per copy. When it refuses an item it says "Too heavy", "Stack full" or "Inventory full".

The other side shows one source at a time: the items on the ground, or one container picked in the source column. A row gives the item's icon, name, quantity, category and weight.

Drag a row to the other side to move it, or outside every window to drop it at your feet. Take all and Put all, in the title bars, empty one side into the other. Put all drops every stack at the same point in front of the survivor, so the meshes overlap, but the loot window still lists each of them.

The inventory window has a strip of tiles at its right edge: what you carry and wear, then one tile per worn bag. Click a tile to see that source alone, or drag a row onto it to move the item there.

On a gamepad a stack cannot be dragged between windows. The item menu moves it instead.

Carrying weight

Everything on you counts towards your load: the bag, the weapons in their slots, what you wear and what your worn bags hold. The item in your hand counts for 30 % of its weight. A worn piece has its own weight on the body (the leather jacket weighs 1.8 kg in the bag and 1.1 kg on the body), and a worn bag takes part of the weight off what it holds.

The exact formula

The load is the sum of:

  • your bag;
  • your weapon slots;
  • the item in your hand, at 30 % of its weight;
  • each worn piece at its WornWeight instead of its weight in the bag;
  • what your worn bags hold, at (1 - BagWeightReduction) of its weight.

Your capacity is 20 kg, before skills and traits. Past it you can still pick things up, and you get the Load status:

Tier From
Burdened 100 % of the capacity
Weighed down 125 %
Overloaded 150 %
Staggering 175 %

Across these tiers your walk slows from x0.95 to x0.7 and you tire faster, from x1.2 to x2. The last tier forbids sprinting. The bag header turns orange past 100 %.

Past 2.0 times the capacity, a pickup is refused with "Too heavy". Loading a saved character never checks the weight, so a heavy character sheet comes back whole.

Proximity highlight

Anything the survivor can act on lightens within 220 uu of the survivor, and lightens further when it is the selected target. It switches off 30 uu further out, so walking along the edge never makes it blink.

An item on the ground also gets an outline while it is in range or selected. An item that appears far from the survivor is never outlined.

While you are inside a building, the walls between the camera and the survivor are hidden with their windows, so a window in a hidden wall hides its highlight too. Doors stay visible.

Weapon slots

A survivor has up to four positions to carry a weapon ready:

Position Key Takes Available Draw time
Belt (left) 1 a knife or a handgun always 0.4 s
Belt (right) 2 a knife or a handgun always 0.4 s
Holster 3 a handgun while a holster is worn (the Gunsmith and the Hunting Guide start with one) 0.5 s
Back 4 anything; a long weapon only with a backpack or a rifle sling ("Needs a backpack or a sling") always 1 s

The bar at the bottom of the screen shows your positions in order, each with its key, the weapon's icon, its name and, for a firearm, its counter.

Stowing a weapon takes it out of your bag, and drawing one always stows the other, so you never hold two. If the slot already holds a weapon and your bag has no room for it, the swap is refused with "No room in the bag" and you keep both. Take off the holster or the backpack and what it carried goes back to the bag, or to the floor when the bag is full.

Every player sees a stowed weapon on the body, with its attachments. A sling shortens the draw. Slots are saved and restored with the rest of the game.

The weapon in hand is a drawn slot first, then what is equipped from the bag, then bare fists.

Condition and charge

An item that has a condition or a charge never merges: two baseball bats are two rows, and only the one in your hand wears. The state follows the object into a weapon slot, a container, onto the floor and into the save.

A thin bar under the icon shows the condition, or the charge of an item that only has a charge. The tooltip reads "Condition 7/15", "Repaired 2 times" and "Charge 60/100". In co-op the state of what is in your bag is yours alone, and an item lying on the floor shows its state to everyone.

Tools wear like weapons. When a recipe or a piece that needs a tool is finished, the first copy in the bag that can still serve may lose some condition, and a tool that runs on a charge spends some. At zero the tool is gone, with "Hammer broke.". Weapon Care and the traits that spare a weapon spare tools too.

The exact formula

Each tool a recipe or a piece needs is one S_ToolUse line: the item, a WearChance, a WearAmount and a ChargeUse. When the action ends, the host takes the first copy in the bag that can still serve, rolls WearChance times the survivor's Stat.Weapon.WearChance, takes WearAmount off its condition and ChargeUse off its charge, and at zero removes it.

Repairs

Repair is the last category of the crafting window. It pairs each worn item in your bag with each repair item you can reach, one row per pair ("Baseball Bat (+2)" over "Duct Tape, 4 s"), and the detail says what the repair would give ("Condition 4/15, after repair 6/15"). Duct tape and glue mend weapons and tools, and a propane tank refills the blowtorch. What you build is never repaired.

A repair gives back a share of the item's maximum, set by the repair item. Weapon Care raises it, up to twice as much at level 10, and each repair already made lowers it by a quarter. It never goes past the maximum.

The exact formula

The gain is BaseAmount x the item's maximum x the Weapon Care curve (Stat.Repair.Gain, x1 at level 0, x2 at level 10). It is lowered by a quarter for each repair already made and never goes past the maximum.

A repair is up to twice as fast at level 10 of Weapon Care. The repair item is taken from the bag first, then from what lies within reach.

The refusals are "Nothing to repair", "Cannot be repaired with this" and "Missing components or tool".

The assets

The highlight settings are on Content/ZombieSurvival/Blueprints/Interactables/BP_Interactable, the base of everything the survivor can act on, from BP_ItemPickup and BP_Container to BP_Door and BP_Window. A weapon position is a PDA_WornSlotDef in DataAssets/Weapons/Childs/ and a repair item a PDA_RestoreDef.

Asset Property Default What it does
DataAssets/Inventory/PDA_InventorySettings (Class Defaults) MaxSlots 0 Slot limit; 0 means none.
PDA_InventorySettings MaxWeight 20 kg Capacity before the Load status starts. The stat Stat.Carry.MaxWeight raises it.
PDA_InventorySettings CarryCeilingRatio 2.0 Times the capacity past which a pickup is refused.
PDA_InventorySettings HeldWeightFactor 30 % Share of its weight the item in hand counts for.
DataAssets/Status/Childs/DA_Status_HeavyLoad Tiers 100, 125, 150, 175 % The four load tiers and their effects.
DataAssets/Clothing/Childs/DA_Clothing_* WornWeight, BagWeightReduction per piece What a piece weighs on the body, and the share of its contents' weight a worn bag takes off the load.
WBP_HUD ColorWeightOver orange Colour of the bag header past 100 % of the capacity.
BP_Interactable (Class Defaults) HighlightRadius 220 uu Distance at which an interactable lightens, measured in 3D between the two actors.
BP_Interactable HighlightHysteresis 30 uu Margin before the highlight switches off.
BP_Interactable HighlightFadeSpeed 8 Speed of the fade; 0 is instant.
BP_Interactable HighlightStrength, SelectedHighlight Strength on approach, and for the selected target.
BP_Interactable UseOutline ticked on BP_ItemPickup only Draws the ground outline.
DataAssets/Weapons/Childs/DA_WeaponSlots_Default Slots, AlwaysActive the four positions, in key order Which positions exist and in which order (Slots), and which need nothing worn (AlwaysActive).
DA_WornSlot_BeltLeft, _BeltRight, _Holster, _Back DrawSeconds 0.4, 0.4, 0.5, 1.0 Time to draw or stow, multiplied by the stat Stat.WeaponSlot.DrawTime.
DA_WornSlot_BeltLeft, _BeltRight, _Holster, _Back AttachSocket belt_l, belt_r, holster_r, back Socket of the body where the stowed weapon shows.
PDA_ItemDef, a weapon's WeaponDef ConditionMax, ChargeMax per item Above 0, the item has a condition or a charge. ConditionMax is on PDA_ItemDef for a tool and on its WeaponDef for a weapon.
each tool line (S_ToolUse) of a recipe or a piece WearChance, WearAmount, ChargeUse per line The chance that the tool wears, what it then loses, and the charge it spends.
DataAssets/Items/Childs/DA_Restore_DuctTape, _Glue, _Propane BaseAmount 0.20, 0.30, 1.0 Share of the maximum a repair gives back.
DA_Restore_* DecayPerRepair 0.25 Loss per earlier repair.
DA_Restore_* BaseDuration 4, 6, 3 s Time of the repair. Its timed action is DA_Action_Repair, on Weapon Care.
DA_Restore_DuctTape, _Glue XP 3, 4 Weapon Care points per repair.
DataAssets/Recipes/Childs/DA_CraftingSettings_Default Restores duct tape, glue, propane tank The restorations the Repair category offers.
DataAssets/UI/DA_UIStyle ConditionBar (in Colors) Colour of the condition bar.

A worn bag's inventory reads DataAssets/Inventory/Childs/DA_Inventory_Bag.

Edit the class, not the empty instance

DA_Inventory_Default is an empty file: it overrides nothing and shows the values of its class. To change the capacity for everyone, edit the Class Defaults of PDA_InventorySettings.

Change it

  • To change the highlight, set its properties on a child class of BP_Interactable or on one placed actor. A change on BP_Interactable does not reach the children that already override it.
  • To make a mesh of your own lighten, add a Highlight scalar to its material, or keep it an instance of M_Building. A material that does not declare the scalar ignores the highlight, silently.
  • To give every survivor the holster position from the start, add DA_WornSlot_Holster to AlwaysActive in DA_WeaponSlots_Default. Key 3 draws from it and the save carries it.
  • To change what a position accepts, set AcceptedKinds, AttachSocket, AttachOffset, DrawSeconds and bRequiresBagOrSling on its DA_WornSlot_*, as Add a firearm shows. A weapon says which positions take it with its CarryKind: Small, Handgun or Long.
  • To change wear, set ConditionMax and ChargeMax on an item or a weapon, and the S_ToolUse lines of each recipe or piece.
  • To add a repair item, create a PDA_RestoreDef and add it to Restores in DA_CraftingSettings_Default, as Add a recipe shows.
  • To change the colour of the condition bar, restyle ConditionBar in DA_UIStyle.

A fifth weapon position is a small graph change: a value in E_WeaponSlotPosition and a key. For a system of your own, BFL_ZSItems.WearTool applies tool wear in one call.