Tennis Racket: Difference between revisions

From PZwiki
(Added the weapon code information from the project zomboid "items_weapons.txt")
 
m (Add stub, navbox, minor cleanup)
Line 1: Line 1:
== Code ==
{{Stub}}{{Languages}}
 
==Code==
===Item===
===Item===
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=55}}
{{Retrieved|version=41|incver=55}}
<nowiki>
<pre>
     item TennisRacket
     item TennisRacket


Line 41: Line 43:
         BaseSpeed = 1.1,
         BaseSpeed = 1.1,
         AttachmentType = Racket,
         AttachmentType = Racket,
         {</nowiki>
         {
</pre>
 
{{Navbox weapons}}

Revision as of 08:40, 8 April 2023

Notebook.png
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.

Code

Item

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

    item TennisRacket

        MaxRange	=	1.25,
        WeaponSprite	=	TennisRacket,
        MinAngle	=	0.75,
        Type	=	Weapon,
        MinimumSwingTime	=	4,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Blunt,
        ConditionLowerChanceOneIn	=	6,
        Weight	=	1,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	4,
        MaxHitCount	=	2,
        DoorDamage	=	2,
        SwingAnim	=	Bat,
        DisplayName	=	Tennis Racket,
        MinRange	=	0.61,
        SwingTime	=	4,
        KnockdownMod	=	2,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	TennisRacket,
        BreakSound  =   TennisRacketBreak,
        DoorHitSound = TennisRacketHit,
		HitSound = TennisRacketHit,
		HitFloorSound = TennisRacketHit,
		SwingSound = TennisRacketSwing,
        TreeDamage  =   0,
        CriticalChance	=	5,
        CritDmgMultiplier = 1,
        MinDamage	=	0.3,
        MaxDamage	=	0.5,
        BaseSpeed = 1.1,
        AttachmentType = Racket,
         {