Splint: Difference between revisions

From PZwiki
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
(infobox changes and new code section)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 39|incver=67.5}}{{Infobox item
{{Languages}}{{Header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 41|incver=78.16}}{{Infobox item
|display_name=Splint
|display_name=Splint
|name_colour=Medical
|model= <!-- model image to go here: Splint_Model.png -->
|name_text_colour=Medical
|icon=Splint.png
|model=Splint.png
|category=FirstAid
|weight=1
|weight=1
|primary_use=Scaffold a [[Health#Types of Injuries|fracture]]
|primary_use=Scaffold a [[Health#Types of Injuries|fracture]]
Line 28: Line 28:


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox |{{CodeSnip
{{Retrieved|version=39|incver=67.5}}
|lang=java |line=true |start=2232 |source=newitems.txt
<pre>
|retrieved=true |version=41 |incver=78.16 |date=2023-09-25
item Splint
|code=
        Weight = 1,
    item Splint
        Type = Normal,
    {
        DisplayName = Splint,
        DisplayCategory = FirstAid,
        Icon = Splint,
        Weight = 1,
        Tooltip = Tooltip_UseOnHealthPanel,
        Type = Normal,
</pre>
        DisplayName = Splint,
        Icon = Splint,
        Tooltip = Tooltip_Splint,
        MetalValue = 1,
        Medical = TRUE,
        WorldStaticModel = Splint,
    }
}}}}


==See also==
==See also==

Revision as of 12:15, 25 September 2023

Splint
[[File:||200px|class=pixelart]]
General
Category
FirstAid
Encumbrance
Moodle Icon HeavyLoad.png
1
Function
Scaffold a fracture
Technical
Item ID
Base.Splint
Aids recovery from broken bones. Reduces time taken to heal.
— In-game tooltip.

A splint is an item used in first aid.

Usage

The splint is used to reduce the time taken to heal a fracture. To apply a splint, right-click the red fracture text in the health panel, also splints make fractures heal 10x faster.

Fracture

Main article: Health

Fractures are often caused by falling from great heights, which greatly reduces the player's movement speed. A fracture will heal on its own over time, however a splint can be used to reduce this greatly, by approximately 10-fold. Each first aid level of the applying player will increase the healing rate by an additional factor of 5. This can be improved further with the use of a comfrey poultice. Upon successfully healing a fracture, the player will receive first aid experience.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Splint.png
Splint
0 XP none
(consumed)

(consumed)

Distribution

Splints cannot be found in the world and therefore can only be obtained through crafting.

Trivia

  • Since the weight of a splint is 1.0, it is technically heavier to hold a crafted one than carry its individual parts, however, this only holds true for using a Sturdy Stick or Tree Branch to craft it.

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 (25 September 2023)
item Splint
    {
        DisplayCategory = FirstAid,
        Weight	=	1,
        Type	=	Normal,
        DisplayName	=	Splint,
        Icon	=	Splint,
        Tooltip = Tooltip_Splint,
        MetalValue = 1,
        Medical = TRUE,
        WorldStaticModel = Splint,
    }

See also

Template:Navbox medical