Cotton Balls: Difference between revisions

From PZwiki
m (Automated CodeBox update)
(update to new infobox & fix CodeBox)
Line 1: Line 1:
{{Languages}}
{{Languages}}
{{Header|Project Zomboid|Items|Consumables|Medical Items|type=Medical|version=Version 41|incver=78.16}}
{{Header|Project Zomboid|Items|Consumables|Medical Items|type=Medical|version=Version 41|incver=78.16}}
{{Infobox item custom
{{Infobox item
|display_name=Cotton Balls
|name=Cotton Balls
|name_colour=Medical
|model = CottonBalls_Model.png
|name_text_colour=Medical
|icon=CottonBalls.png
|image = CottonBalls_Model.png
|icon_name=Cotton Balls
|image_width = 200px
|category=First Aid
|alternate_image=CottonBalls.png
|weight=0.1
|alternate_name=Cotton Balls
|function=Disinfect [[Health#Types of Injuries|wounds]]
|alternate_image2=CottonBalls.png
|alcohol_power=4
|alternate_name2=Cotton Balls Doused in Alcohol
|item_id=Base.CottonBalls
|weight = 0.1
|item_id2=Base.AlcoholedCottonBalls
|variant1 = Cotton Balls
|func1 = Function
|data1 = Douse with alcohol
|variant2=Cotton Balls Doused in Alcohol
|data4 = Disinfect [[Health#Types of Injuries|wounds]]
|func2 = Alcohol [[File:Moodle_Icon_Drunk.png|right|link=Moodles#Drunk|Drunk]]
|data5 = 4
|class_name = See [[#Item IDs|Item IDs]]
}}
}}
{{Quote|text=Used to sterilize wounds and aid recovery from infection.|author=Cotton balls doused in alcohol in-game tooltip.}}
{{Quote|text=Used to sterilize wounds and aid recovery from infection.|author=Cotton balls doused in alcohol in-game tooltip.}}
Line 26: Line 18:
==Usage==
==Usage==
{{Main|First Aid}}
{{Main|First Aid}}
Cotton balls can be disinfected with a [[Bottle of Disinfectant|bottle of disinfectant]] or [[whiskey]], producing '''cotton balls doused in alcohol'''. They are used to disinfect a wound before applying a bandage reducing the chance of the wound becoming [[Health#Types_of_Injuries|infected]].  
Cotton balls can be disinfected with a [[Bottle of Disinfectant|bottle of disinfectant]] or [[bourbon]], producing '''cotton balls doused in alcohol'''. They are used to disinfect a wound before applying a bandage, reducing the chance of the wound becoming [[Health#Types_of_Injuries|infected]].  


Alcohol doused cotton balls are single use items.
Alcohol doused cotton balls are single use items.


==Crafting==
==Crafting==
{{Crafting header|type=med|ing=2}}
{{Crafting header|ing=2}}
{{Crafting health|008|ing=2}}
{{Crafting health|008|ing=2}}
|}
|}
Line 37: Line 29:
==Distribution==
==Distribution==
Cotton balls can be found in [[First Aid Kit|first aid kits]], [[Containers#Cabinets|medical cabinets]], and in several places within a pharmacy.
Cotton balls can be found in [[First Aid Kit|first aid kits]], [[Containers#Cabinets|medical cabinets]], and in several places within a pharmacy.
==Item IDs==
{| class="wikitable theme-red"
!Item name
!Class name
|-
|Cotton Balls
|Base.CottonBalls
|-
|Cotton Balls Doused in Alcohol
|Base.AlcoholedCottonBalls
|}


==Code==
==Code==
 
{{CodeBox|
 
''Cotton Balls'' [[File:CottonBalls.png]]<br>
''Cotton Balls'' [[File:CottonBalls.png]]
{{CodeSnip
{{CodeBox
| {{CodeSnip
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 2221
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
Line 74: Line 52:
}
}
   }}
   }}
}}


''Cotton Balls Doused in Alcohol'' [[File:CottonBalls.png]]
''Cotton Balls Doused in Alcohol'' [[File:CottonBalls.png]]<br>
{{CodeBox
{{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = true
   | line = true
   | start = 0
   | start = 2260
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true

Revision as of 11:38, 23 February 2024

Cotton Balls
CottonBalls Model.png
General
Category
First Aid
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
Disinfect wounds
Effect
Sterilize powerDisinfection
4
Technical
Item ID
Base.CottonBalls
Base.AlcoholedCottonBalls
Used to sterilize wounds and aid recovery from infection.
— Cotton balls doused in alcohol in-game tooltip.

Cotton balls are an item used in first aid.

Usage

Main article: First Aid

Cotton balls can be disinfected with a bottle of disinfectant or bourbon, producing cotton balls doused in alcohol. They are used to disinfect a wound before applying a bandage, reducing the chance of the wound becoming infected.

Alcohol doused cotton balls are single use items.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
CottonBalls.png
Cotton Balls Doused in Alcohol
0 XP none CottonBalls.png
Cotton Balls
(consumed)
One of:
Alcohol.png Bottle of Disinfectant (1 unit)
WhiskeyFull.png Bourbon (10 units)

(consumed)

Distribution

Cotton balls can be found in first aid kits, medical cabinets, and in several places within a pharmacy.

Code

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

Cotton Balls CottonBalls.png
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item CottonBalls
{
    DisplayCategory = FirstAid,
    Weight = 0.1,
    Type = Normal,
    DisplayName = Cotton Balls,
    Icon = CottonBalls,
    Medical = TRUE,
    WorldStaticModel = CottonBalls,
}

Cotton Balls Doused in Alcohol CottonBalls.png
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item AlcoholedCottonBalls
{
    DisplayCategory = FirstAid,
    Type = Drainable,
    UseDelta = 1,
    UseWhileEquipped = FALSE,
    DisplayName = Cotton Balls Doused in Alcohol,
    Icon = CottonBalls,
    Weight = 0.1,
    AlcoholPower = 4,
    Tooltip = Tooltip_AlcoholBandage,
    Medical = TRUE,
    ConsolidateOption = ContextMenu_Merge,
    WorldStaticModel = CottonBalls,
}

See also

Template:Navbox medical