Cotton Balls: Difference between revisions

From PZwiki
m (Distribution table update)
(26 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 40|incver=43}}{{Infobox item custom
{{Header|Project Zomboid|Items|Medical items}}
|display_name=Cotton Balls
{{Page version|41.78.16}}
|name_colour=Medical
{{Infobox item
|name_text_colour=Medical
|name=Cotton Balls
|image = CottonBalls.png
|model=CottonBalls_Model.png
|weight = 0.1
|icon=CottonBalls.png
|variant1 = Cotton Balls
|icon_name=Cotton Balls
|func1 = Function
|category=First Aid
|data1 = Douse with alcohol
|weight=0.1
|variant2=Cotton Balls Doused in Alcohol
|function=Disinfect [[Health#Types of Injuries|wounds]]
|data4 = Disinfect [[Health#Types of Injuries|wounds]]
|alcohol_power=4
|func2 = Alcohol [[File:Moodle_drunk.png|right|link=Moodles#Drunk|Drunk]]
|item_id=Base.CottonBalls
|data5 = 4
|item_id2=Base.AlcoholedCottonBalls
|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.}}'''Cotton balls''' are an [[item]] used in [[First Aid|first aid]].
{{Quote|text=Used to sterilize wounds and aid recovery from infection.|author=Cotton balls doused in alcohol in-game tooltip.}}
'''Cotton balls''' are an [[Items|item]] used in [[First Aid|first aid]].


==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/sandbox2
{{Crafting health|008|ing=2}}
|cotton_balls_cotton_balls_doused_in_alcohol
|}
}}


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
<!--BOT FLAG|CottonBalls|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>CottonBalls distribution
        <span class="mw-customtoggle-togglebox-CottonBalls" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-CottonBalls">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|Bag_DoctorBag}}
    | 1
    | 10.0
    |-
    | dentiststorage
    | {{ll|metal_shelves}}
    | 4
    | 20.0
    |-
    | dentiststorage
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | kennels
    | {{ll|counter}}
    | 4
    | 20.0
    |-
    | kennels
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | laboratory
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | morgue
    | {{ll|counter}}
    | 4
    | 10.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | AmbulanceTruckBed
    | 4
    | 10
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-CottonBalls" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CottonBalls|41.78.16-->
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="pztable"
!Item name
!Class name
|-
|Cotton Balls
|Base.CottonBalls
|-
|Cotton Balls Doused in Alcohol
|Base.AlcoholedCottonBalls
|}


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|
''Cotton Balls'' [[File:CottonBalls.png]]<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 2221
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item CottonBalls
    {
        DisplayCategory = FirstAid,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Cotton Balls,
        Icon = CottonBalls,
        Medical = TRUE,
        WorldStaticModel = CottonBalls,
    }
}}


''Cotton Balls'' [[File:CottonBalls.png]]
''Cotton Balls Doused in Alcohol'' [[File:CottonBalls.png]]<br>
{{Retrieved|version=40|incver=43}}
{{CodeSnip
<pre> item CottonBalls
  | lang = java
Weight = 0.1,
  | line = true
Type = Normal,
  | start = 2260
DisplayName = Cotton Balls,
  | source = newitems.txt
Icon = CottonBalls,</pre>
  | retrieved = true
  | version = 41.78.16
  | code =
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,
    }
}}
}}


''Cotton Balls Doused in Alcohol'' [[File:CottonBalls.png]]
==See also==
{{Retrieved|version=40|incver=43}}
*[[First Aid]]
<pre> item AlcoholedCottonBalls
*[[Health]]
Type = Drainable,
*[[Alcohol Wipes]]
UseDelta = 1,
 
UseWhileEquipped = FALSE,
{{Navbox items|first_aid_materials}}
DisplayName = Cotton Balls Doused in Alcohol,
Icon = CottonBalls,
Weight = 0.1,
AlcoholPower = 4,
Tooltip = Tooltip_AlcoholBandage,</pre>


==See also==
*[[First Aid|General First Aid]]
*[[Health|Player Health]]


{{Navbox/Consumables}}
[[Category:First aid materials]]

Revision as of 15:17, 24 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
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 Ingredients Tools Requirements Workstation XP
CottonBalls.png
Cotton Balls Doused in Alcohol
One of:
Alcohol.png Bottle of Disinfectant ×1 unit(s)
WhiskeyFull.png Bourbon ×10 unit(s)
Each of:
CottonBalls.png Cotton Balls ×1
none none none none

Distribution

The loot distributions can be found in the table(s) below.

CottonBalls distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all Bag_DoctorBag 1 10.0
dentiststorage metal_shelves 4 20.0
dentiststorage metal_shelves 4 10.0
kennels counter 4 20.0
kennels counter 4 10.0
laboratory crate 4 10.0
morgue counter 4 10.0
Vehicles
Vehicle Type/Location Rolls Chance
AmbulanceTruckBed 4 10

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