Cotton Balls: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table update)
 
(32 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{languages|Cotton_Balls}}
{{Header|Project Zomboid|Items|Medical items}}
{{header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 39|incver=67.5}}{{Infobox item custom
{{Page version|41.78.16}}
|display_name=Cotton Balls
{{Infobox item
|name_colour=Medical
|name=Cotton Balls
|name_text_colour=Medical
|model=CottonBalls_Model.png
|image = CottonBalls_120px.png
|icon=CottonBalls.png
|weight = 0.1
|icon_name=Cotton Balls
|variant1 = Cotton Balls
|category=First Aid
|func1 = Function
|weight=0.1
|data1 = Douse with alcohol
|function=Disinfect [[Health#Types of Injuries|wounds]]
|variant2=Cotton Balls Doused in Alcohol
|alcohol_power=4
|data4 = Disinfect [[Health#Types of Injuries|wounds]]
|item_id=Base.CottonBalls
|func2 = Alcohol [[File:Moodle_drunk.png|right|link=Moodles#Drunk|Drunk]]
|item_id2=Base.AlcoholedCottonBalls
|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.}}'''Cotton balls''' are an [[item]] used in [[First Aid|first aid]].
'''Cotton balls''' are an [[Items|item]] used in [[First Aid|first aid]].


==Usage==
==Usage==
Cotton balls can be disinfected to prevent wound infection. This can be done by using the cotton balls with a [[Bottle_of_Disinfectant|bottle of disinfectant]] or with a bottle of [[whiskey]], producing '''cotton balls doused in alcohol'''.
{{Main|First Aid}}
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.


==Crafting==
==Crafting==
{{Crafting table header}}
{{Crafting/sandbox2
{{RecipeLookup|8002}}
|cotton_balls_cotton_balls_doused_in_alcohol
{{Crafting table footer}}
}}


==Distribution==
==Distribution==
Cotton balls can be found in [[Containers#Cabinets|medical cabinets]], and in several places within a pharmacy.
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.


==Item IDs==
==Code==
{| class="wikitable"
{{CodeBox|
!Vehicle type
''Cotton Balls'' [[File:CottonBalls.png]]<br>
!Class name
{{CodeSnip
|-
  | lang = java
|Cotton Balls
  | line = true
|Base.CottonBalls
  | start = 2221
|-
  | source = newitems.txt
|Cotton Balls Doused in Alcohol
  | retrieved = true
|Base.AlcoholedCottonBalls
  | version = 41.78.16
|}
  | code =
item CottonBalls
    {
        DisplayCategory = FirstAid,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Cotton Balls,
        Icon = CottonBalls,
        Medical = TRUE,
        WorldStaticModel = CottonBalls,
    }
}}


== Code ==
''Cotton Balls Doused in Alcohol'' [[File:CottonBalls.png]]<br>
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeSnip
  | lang = java
  | line = true
  | start = 2260
  | source = newitems.txt
  | 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'' [[File:CottonBalls.png]]
==See also==
{{Retrieved|version=39|incver=67.5}}
*[[First Aid]]
<pre> item CottonBalls
*[[Health]]
Weight = 0.1,
*[[Alcohol Wipes]]
Type = Normal,
DisplayName = Cotton Balls,
Icon = CottonBalls,</pre>


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


== See also ==
[[First_Aid|General First Aid]]


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

Latest 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