Scrap Metal: Difference between revisions

From PZwiki
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
m (Distribution table update)
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages|Scrap Metal}}
{{Header|Project Zomboid|Items|Materials|Metal}}
{{header|The Game World|Items|type=Construction|version=Version 41|incver=72}}{{Infobox item
{{Page version|41.78.16}}
|display_name=Scrap Metal
{{Improve}}
|name_colour=Construction
{{Infobox item
|name_text_colour=Construction
|name=Scrap Metal
|model=ScrapMetal_Model.png
|model=ScrapMetal_Model.png
|icon=ScrapMetal.png
|icon=ScrapMetal.png
Line 9: Line 9:
|weight=0.1
|weight=0.1
|primary_use=[[Metalworking]] material
|primary_use=[[Metalworking]] material
|class_name=Base.ScrapMetal
|item_id=Base.ScrapMetal
}}'''Scrap metal''' is a material required in various [[metalworking]] recipes.
}}
A '''scrap metal''' is a material required in various [[metalworking]] recipes.


==Usage==
==Usage==
Scrap metal is required in nearly all metalworking construction recipes.  
Scrap metal is required in nearly all metalworking construction recipes.


==Crafting==
==Crafting==
Line 31: Line 32:


==Distribution==
==Distribution==
===Buildings===
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|ScrapMetal|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>ScrapMetal distribution
        <span class="mw-customtoggle-togglebox-ScrapMetal" 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-ScrapMetal">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | Not referenced
    | {{ll|JunkBin}}
    | 4
    | 10.0
    |-
    | SafehouseLoot
    | {{ll|crate}}
    | 4
    | 4.0
    |-
    | all
    | {{ll|bin}}
    | 4
    | 2.0
    |-
    | all
    | {{ll|toolcabinet}}
    | 4
    | 10.0
    |-
    | armyhanger
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | bedroom
    | {{ll|crate}}
    | 1
    | 0.2
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | drugshack
    | {{ll|counter}}
    | 4
    | 6.0
    |-
    | factory
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | factory
    | {{ll|crate}}
    | 4
    | 20.0
    |-
    | garagestorage
    | {{ll|counter}}
    | 4
    | 20.0
    |-
    | garagestorage
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | motelroomoccupied
    | {{ll|bin}}
    | 4
    | 2.0
    |-
    | toolstorestorage
    | {{ll|metal_shelves}}
    | 4
    | 6.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | MassGenFacTruckBed
    | 4
    | 10
    |-
    | MassGenFacTruckBed
    | 4
    | 20
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-ScrapMetal" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|ScrapMetal|41.78.16-->
Scrap metal can be found in garages, sheds, storage units, tool stores and electrician's house.
Scrap metal can be found in garages, sheds, storage units, tool stores and electrician's house.


Line 38: Line 144:


===Disassembly===
===Disassembly===
Scrap metal can be found by disassembling metal objects (such as metal chairs, lockers, etc) and scrap vehicles.
Scrap metal can be found by disassembling metal objects (such as metal chairs, lockers, etc.) and scrap vehicles.


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=5}}
| {{CodeSnip
<pre> item ScrapMetal
  | lang = java
Weight = 0.1,
  | line = true
Type = Normal,
  | start = 697
DisplayName = Scrap Metal,
  | source = newitems.txt
Icon = ScrapMetal,
  | retrieved = true
MetalValue = 30,</pre>
  | version = 41.78.16
  | code =
item ScrapMetal
    {
        DisplayCategory = Material,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Scrap Metal,
        Icon = ScrapMetal,
        MetalValue = 30,
        SurvivalGear = TRUE,
        WorldStaticModel = ScrapMetal,
    }
}}
}}


==See also==
==See also==
Line 54: Line 174:
*[[Welding Mask]]
*[[Welding Mask]]
*[[Metal Sheet]]
*[[Metal Sheet]]
{{Navbox items|metalwork_materials}}
[[Category:Materials]]
[[Category:Metalwork materials]]

Revision as of 16:33, 24 April 2024

Project ZomboidItemsMaterialsMetalScrap Metal
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
WhiskeyHalf.png
This article may be in need of improvement.
Editors are encouraged to add any missing information to the article, while verifying that the article's current content is correct.
Scrap Metal
ScrapMetal Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
Metalworking material
Technical
Item ID
Base.ScrapMetal

A scrap metal is a material required in various metalworking recipes.

Usage

Scrap metal is required in nearly all metalworking construction recipes.

Crafting

Distribution

The loot distributions can be found in the table(s) below.

ScrapMetal distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced JunkBin 4 10.0
SafehouseLoot crate 4 4.0
all bin 4 2.0
all toolcabinet 4 10.0
armyhanger counter 4 10.0
bedroom crate 1 0.2
closet crate 4 10.0
drugshack counter 4 6.0
factory crate 4 10.0
factory crate 4 20.0
garagestorage counter 4 20.0
garagestorage counter 4 10.0
motelroomoccupied bin 4 2.0
toolstorestorage metal_shelves 4 6.0
Vehicles
Vehicle Type/Location Rolls Chance
MassGenFacTruckBed 4 10
MassGenFacTruckBed 4 20

Scrap metal can be found in garages, sheds, storage units, tool stores and electrician's house.

Vehicles

Scrap metal can be found in the trunk of electrician, metalworker, or construction worker's vehicles.

Disassembly

Scrap metal can be found by disassembling metal objects (such as metal chairs, lockers, etc.) and scrap vehicles.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item ScrapMetal
    {
        DisplayCategory = Material,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Scrap Metal,
        Icon	=	ScrapMetal,
        MetalValue = 30,
        SurvivalGear = TRUE,
        WorldStaticModel = ScrapMetal,
    }

See also