Metal Bar: Difference between revisions

From PZwiki
m (added metal wall frame use)
(added build 41 uses + changed infobox, crafting, navbox)
Line 1: Line 1:
{{languages|Metal Bar}}
{{languages}}
{{header|The Game World|Items|type=Construction|version=Version 40|incver=5}}{{Infobox normal
{{header|The Game World|Items|type=Construction|version=Version 40|incver=53}}{{Infobox weapon
|display_name=Metal Bar
|display_name=Metal Bar
|name_colour=Construction
|name_colour=Construction
|name_text_colour=Construction
|name_text_colour=Construction
|image=MetalBar_120px.png
|image=LeadPipe_Model.png
|image_width=200px
|alternate_image=MetalBar.png
|alternate_name=Metal Bar
|alternate_link=
<!--GENERAL-->
|category=Weapon
|weight=1.5
|weight=1.5
|primary_use=[[Metalworking]] material
|function=[[Metalworking]]
|class_name=Base.MetalBar
|equipped=One-Handed
|condition_max=8
<!--DAMAGE-->
|type=Small Blunt
|swing_time=2
|min_range=0.61
|max_range=1.2
|min_damage=0.7
|max_damage=1.1
|door_damage=1
|push_back=0.3
|knockdown=
<!--TECHNICAL DETAILS-->
|class_name=MetalBar
}}A '''metal bar''' is a material required in [[metalworking]].
}}A '''metal bar''' is a material required in [[metalworking]].


==Usage==
==Usage==
Metal bars are only required in constructing [[barricade|metal bar barricades]] and [[Metal Wall|metal wall frames]]. This barricade provides a strong transparent structure that can be put on [[window]]s and [[door]]s.
Metal bars are required in constructing [[barricade|metal bar barricades]] and [[Metal Wall|metal wall frames]]. This barricade provides a strong transparent structure that can be put on [[window]]s and [[door]]s.


==Crafting==
==Crafting==
*Barricade
{{Crafting header|ing=4}}
*Metal Wall Frame
{{Crafting metalworking|201|ing=4}}
{{Crafting metalworking|301|ing=4}}
|}


==Distribution==
==Distribution==
Line 26: Line 47:
==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=5}}
{{Retrieved|version=41|incver=53}}
<pre> item MetalBar
<pre>   item MetalBar
Weight = 1.5,
    {
Type = Normal,
        MaxRange = 1.2,
DisplayName = Metal Bar,
        WeaponSprite = LeadPipe,
Icon = MetalBar,
        MinAngle = 0.72,
MetalValue = 40,</pre>
        Type = Weapon,
        MinimumSwingTime = 2,
        KnockBackOnNoDeath = FALSE,
        SwingAmountBeforeImpact = 0.02,
        Categories = Improvised;SmallBlunt,
        ConditionLowerChanceOneIn = 15,
        Weight = 1.5,
        SplatNumber = 1,
        PushBackMod = 0.3,
        SubCategory = Swinging,
        ConditionMax = 8,
        MaxHitCount = 2,
        DoorDamage = 1,
        SwingAnim = Bat,
        DisplayName = Metal Bar,
        MinRange = 0.61,
        SwingTime = 2,
        KnockdownMod = 0,
        SplatBloodOnNoDeath = FALSE,
        Icon = MetalBar,
        RunAnim = Run_Weapon2,
        IdleAnim = Idle_Weapon2,
        BreakSound  =  BreakMetalItem,
        TreeDamage  =  0,
        CriticalChance = 30,
        CritDmgMultiplier = 2,
        MinDamage = 0.7,
        MaxDamage = 1.1,
        BaseSpeed = 0.95,
        WeaponLength = 0.35,
        AttachmentType = BigWeapon,
  }</pre>


==See also==
==See also==
Line 38: Line 90:
*[[Welding Mask]]
*[[Welding Mask]]
*[[Metal Tube]]
*[[Metal Tube]]
{{Navbox_weapons}}

Revision as of 16:05, 30 July 2021

The Game WorldItemsMetal Bar
Metal Bar
Metal Bar
Metal Bar
General
Category Weapon
Encumbrance
Heavy Load
1.5
Function Metalworking
Equipped One-Handed
Condition max. 8
Skill Small Blunt
Damage
Type Small Blunt
Attack speed 2
Range 0.61–1.2 tiles
Damage 0.7–1.1
Door damage 1
Knockback 0.3
Technical details
Base ID MetalBar

A metal bar is a material required in metalworking.

Usage

Metal bars are required in constructing metal bar barricades and metal wall frames. This barricade provides a strong transparent structure that can be put on windows and doors.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4
Barricade (Metal Bars)
Barricade (Metal Bars)
1.5 Metalworking none BlowTorch.png
Propane Torch
(1 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
One of:
WoodenDoor Carpentry.gif Door
Window Carpentry.gif Window
MetalBar.png
Metal Bar x3
(consumed)
Metal Wall Frame
Metal Wall Frame
5 Metalworking Metalworking 3 The Metalwork Magazine Vol.1 BlowTorch.png
Propane Torch
(2 units)

(keep)
WeldingMask.png
Welder Mask
(keep)
WeldingRods.png
Welding Rods
(1 units)

(consumed)
MetalBar.png
Metal Bar x3
(consumed)

Distribution

Buildings

Metal bars can be found in garages, sheds, storage units, tool stores and logging factories.

Vehicles

Metal bars can be found in the trunk of metalworker, or construction worker's vehicles.

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.53

    item MetalBar
    {
        MaxRange	=	1.2,
        WeaponSprite	=	LeadPipe,
        MinAngle	=	0.72,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;SmallBlunt,
        ConditionLowerChanceOneIn	=	15,
        Weight	=	1.5,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	8,
        MaxHitCount	=	2,
        DoorDamage	=	1,
        SwingAnim	=	Bat,
        DisplayName	=	Metal Bar,
        MinRange	=	0.61,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	MetalBar,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        BreakSound  =   BreakMetalItem,
        TreeDamage  =   0,
        CriticalChance	=	30,
        CritDmgMultiplier = 2,
        MinDamage	=	0.7,
        MaxDamage	=	1.1,
        BaseSpeed = 0.95,
        WeaponLength = 0.35,
        AttachmentType = BigWeapon,
   }

See also