Griddle Pan: Difference between revisions

From PZwiki
(Added the weapon code information from the project zomboid "item_weapons.txt")
 
m (began info box for the griddle pan copying info from the code on page)
Line 1: Line 1:
{{Infobox weapon
|display_name=Griddle Pan
|image=
|image_width=200px
<!--GENERAL-->
|category=Weapon
|weight=1.2
|equipped=One-handed
|condition_max=10
|attachment_type=Back
<!--DAMAGE-->
|type=Blunt
|skill_type=Short Blunt
|base_speed=1
|min_range=0.61
|max_range=1.1
|min_damage=0.25
|max_damage=0.45
|crit_chance=30
|crit_multiplier=1.7
|tree_damage=0
|door_damage=3
|push_back=0.5
|knockdown=1.3
<!--TECHNICAL DETAILS-->
|ingredients=
|
}}
==Code==
==Code==
===Item===
===Item===

Revision as of 23:22, 13 August 2022

Griddle Pan
General
Category Weapon
Encumbrance
Heavy Load
1.2
Equipped One-handed
Condition max. 10
Skill Short Blunt
Attachment Back
Damage
Type Blunt
Attack speed 1
Range 0.61–1.1 tiles
Damage 0.25–0.45
Crit chance 30%
Tree damage 0
Door damage 3
Knockback 0.5
Knockdown 1.3
Technical details
Base ID Item IDs

Code

Item

From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.55

    item GridlePan
    {
        MaxRange	=	1.1,
        WeaponSprite	=	GridlePan,
        MinAngle	=	0.67,
        Type	=	Weapon,
        MinimumSwingTime	=	3,
        KnockBackOnNoDeath	=	True,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;SmallBlunt,
        ConditionLowerChanceOneIn	=	12,
        Weight	=	1.2,
        SplatNumber	=	1,
        PushBackMod	=	0.5,
        SubCategory	=	Swinging,
        ConditionMax	=	10,
        MaxHitCount	=	1,
        DoorDamage	=	3,
        SwingAnim	=	Bat,
        DisplayName	=	Griddle Pan,
        MinRange	=	0.61,
        SwingTime	=	3,
        KnockdownMod	=	1.3,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	Griddle,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        TreeDamage  =   0,
        EnduranceMod = 1.3,
        MetalValue = 20,
        MinDamage	=	0.25,
        MaxDamage	=	0.45,
        CriticalChance	=	30,
        CritDmgMultiplier = 1.7,
        BaseSpeed = 1,
        WeaponLength = 0.20,
        AttachmentType = Saucepan,
        BreakSound	=	GriddlePanBreak,
        DoorHitSound = GriddlePanHit,
		HitSound = GriddlePanHit,
		HitFloorSound = GriddlePanHit,
		SwingSound = GriddlePanSwing,
         {