How to Use Generators: Difference between revisions
mNo edit summary |
(Add code) |
||
(One intermediate revision by one other user not shown) | |||
Line 19: | Line 19: | ||
==Distribution== | ==Distribution== | ||
Distribution can be found in the table(s) below: | |||
<!--BOT FLAG|ElectronicsMag4|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>ElectronicsMag4 distribution | |||
<span class="mw-customtoggle-togglebox-ElectronicsMag4" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-ElectronicsMag4"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis: 30%;"> | |||
{| class="wikitable theme-red sortable" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| Electrician | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| Electrician | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|- | |||
| all | |||
| {{ll|postbox}} | |||
| 0.71% | |||
|- | |||
| all | |||
| {{ll|shelves}} | |||
| 1.87% | |||
|- | |||
| all | |||
| {{ll|shelvesmag}} | |||
| 3.98% | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 3.98% | |||
|- | |||
| bookstore | |||
| {{ll|shelves}} | |||
| 6.29% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 3.98% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| electronicsstorage | |||
| {{ll|shelves}} | |||
| 19.27% | |||
|- | |||
| electronicsstore | |||
| {{ll|counter}} | |||
| 19.27% | |||
|- | |||
| electronicsstore | |||
| {{ll|shelves}} | |||
| 19.27% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 3.98% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| hall | |||
| {{ll|shelvesmag}} | |||
| 3.98% | |||
|- | |||
| kitchen | |||
| {{ll|crate}} | |||
| 3.98% | |||
|- | |||
| library | |||
| {{ll|shelves}} | |||
| 3.98% | |||
|- | |||
| livingroom | |||
| {{ll|crate}} | |||
| 3.98% | |||
|- | |||
| livingroom | |||
| {{ll|shelves}} | |||
| 1.87% | |||
|- | |||
| livingroom | |||
| {{ll|sidetable}} | |||
| 1.87% | |||
|- | |||
| office | |||
| {{ll|shelves}} | |||
| 1.87% | |||
|- | |||
| poststorage | |||
| {{ll|crate}} | |||
| 3.98% | |||
|- | |||
| poststorage | |||
| {{ll|metal_shelves}} | |||
| 3.98% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 3.98% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| toolstore | |||
| {{ll|counter}} | |||
| 6.29% | |||
|- | |||
| toolstore | |||
| {{ll|shelves}} | |||
| 6.29% | |||
|} | |||
</div> | |||
<div id="vehicles" style="flex-basis: 30%;"> | |||
{| class="wikitable theme-red sortable" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Vehicles}} | |||
! Type | |||
! Container | |||
! Effective chance | |||
|- | |||
| Electrician | |||
| {{ll|Glove Box}} | |||
| 6.29% | |||
|- | |||
| Electrician | |||
| {{ll|Truck Bed}} | |||
| 6.29% | |||
|- | |||
| Postal | |||
| {{ll|Truck Bed}} | |||
| 2.81% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-ElectronicsMag4" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|ElectronicsMag4|41.78.16--> | |||
==Code== | |||
{{CodeBox| | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 1223 | |||
| source = items_literature.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item ElectronicsMag4 | |||
{ | |||
DisplayCategory = SkillBook, | |||
Weight = 0.1, | |||
Type = Literature, | |||
DisplayName = How to Use Generators, | |||
Icon = MagazineElectronics02, | |||
TeachedRecipes = Generator, | |||
ReplaceOnUse = ElectronicsMag4, | |||
StaticModel = Magazine, | |||
WorldStaticModel = MagazineElec4Ground, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
Line 29: | Line 201: | ||
{{Navbox items|literature}} | {{Navbox items|literature}} | ||
[[Articles requiring distribution tables]] | |||
[[Category:Articles requiring distribution tables]] |
Latest revision as of 10:09, 2 May 2024
A How to Use Generators is a literature item with 1 volume.
Usage
The How to Use Generators magazine can be read to allow the use of a generator. Even if the player finds a generator, they cannot use it until they have found and read this magazine, regardless of occupation.
Distribution
Distribution can be found in the table(s) below:
Building/Room | Container | Effective chance |
---|---|---|
Electrician | crate | 6.29% |
Electrician | metal_shelves | 6.29% |
all | postbox | 0.71% |
all | shelves | 1.87% |
all | shelvesmag | 3.98% |
bedroom | crate | 3.98% |
bookstore | shelves | 6.29% |
closet | crate | 3.98% |
closet | crate | 6.29% |
electronicsstorage | shelves | 19.27% |
electronicsstore | counter | 19.27% |
electronicsstore | shelves | 19.27% |
garagestorage | crate | 3.98% |
garagestorage | crate | 6.29% |
hall | shelvesmag | 3.98% |
kitchen | crate | 3.98% |
library | shelves | 3.98% |
livingroom | crate | 3.98% |
livingroom | shelves | 1.87% |
livingroom | sidetable | 1.87% |
office | shelves | 1.87% |
poststorage | crate | 3.98% |
poststorage | metal_shelves | 3.98% |
storageunit | crate | 3.98% |
storageunit | crate | 6.29% |
toolstore | counter | 6.29% |
toolstore | shelves | 6.29% |
Code
Source: ProjectZomboid\media\scripts\items_literature.txt
item ElectronicsMag4
{
DisplayCategory = SkillBook,
Weight = 0.1,
Type = Literature,
DisplayName = How to Use Generators,
Icon = MagazineElectronics02,
TeachedRecipes = Generator,
ReplaceOnUse = ElectronicsMag4,
StaticModel = Magazine,
WorldStaticModel = MagazineElec4Ground,
}