Wiki menu
Canned Pork
Canned pig meat. Processed to last a long time.
PorkCan_Opened
- Section
- Food
- Weight
- 15 g
- Inventory size
- 2×1 2 slots
- Durability
- 70
- Spawns on
- Not in vanilla loot
Characteristics
- Weight when full
- 265 g
- Quantity
- 250 g
Nutrition
- Energy
- 225
- Water
- 20
- Stomach load
- 2
- Toxicity
- 0
Values from the config for each state of the food.
Compatibility
Attaches to
Matched by config slots and lists. Game scripts block a few combinations on top of this.
Where it spawns
No vanilla source in the game files: no loot entry, map event, recipe or item that spawns it.
| Chernarus | Livonia | Sakhal | |
|---|---|---|---|
| Nominal | 0 | 0 | 0 |
| Minimum | 0 | 0 | 1 |
| Lifetime | 2.5 h | 2.5 h | 2.5 h |
| Restock | 0 | 0 | 0 |
| Quantity | · | · | · |
| Loot category | Food | Food | · |
| Places | · | · | · |
| Tiers | · | · | · |
Nominal is how many the economy keeps on the map, minimum is where restocking starts. Lifetime is how long an untouched item lies before cleanup.
types.xml
Vanilla entries from the mission files of each map. Paste one into db/types.xml of your mission to bring back the default.
<type name="PorkCan_Opened">
<nominal>0</nominal>
<lifetime>9000</lifetime>
<restock>0</restock>
<min>0</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
<category name="food"/>
</type>
<type name="PorkCan_Opened">
<nominal>0</nominal>
<lifetime>9000</lifetime>
<restock>0</restock>
<min>1</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
Variants
PorkCan
PorkCan_Opened
The same item in other colors or versions. Each one has its own classname and loot settings.
Config
- Classname
PorkCan_Opened- Config class
CfgVehicles- Inherits from
FoodCan_250g_Opened_ColorBase›Edible_Base›Inventory_Base›Static›All- Model
\dz\gear\food\FoodCan_250g_open.p3d- Defined in
Addons/gear_food.pbo::config.bin- Inventory slots
DirectCookingA, DirectCookingB, DirectCookingC

