Cotton Balls: Difference between revisions

From PZwiki
m (crafting template (recipelookout --> crafting X))
m (Distribution table fix)
 
(32 intermediate revisions by 9 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 40|incver=43}}{{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==
{{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.


==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">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Bag_DoctorBag
    | {{ll|Bag_DoctorBag}}
    | 6.41%
    |-
    | Bag_MedicalBag
    | {{ll|Bag_MedicalBag}}
    | 12.41%
    |-
    | FirstAidKit
    | {{ll|FirstAidKit}}
    | 6.41%
    |-
    | Nurse
    | {{ll|crate}}
    | 23.28%
    |-
    | Nurse
    | {{ll|crate}}
    | 41.14%
    |-
    | Nurse
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | Nurse
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | dentiststorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | dentiststorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | hospitalstorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | hospitalstorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | kennels
    | {{ll|counter}}
    | 23.28%
    |-
    | kennels
    | {{ll|counter}}
    | 41.14%
    |-
    | kennels
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | kennels
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | laboratory
    | {{ll|crate}}
    | 23.28%
    |-
    | laboratory
    | {{ll|desk}}
    | 23.28%
    |-
    | laboratory
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | medical
    | {{ll|counter}}
    | 23.28%
    |-
    | medical
    | {{ll|counter}}
    | 41.14%
    |-
    | medical
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | medical
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | medical
    | {{ll|wardrobe}}
    | 23.28%
    |-
    | medicalstorage
    | {{ll|counter}}
    | 23.28%
    |-
    | medicalstorage
    | {{ll|counter}}
    | 41.14%
    |-
    | medicalstorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | medicalstorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | morgue
    | {{ll|counter}}
    | 23.28%
    |-
    | pharmacy
    | {{ll|counter}}
    | 23.28%
    |-
    | pharmacy
    | {{ll|counter}}
    | 41.14%
    |-
    | pharmacy
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | pharmacy
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | pharmacystorage
    | {{ll|counter}}
    | 23.28%
    |-
    | pharmacystorage
    | {{ll|counter}}
    | 41.14%
    |-
    | pharmacystorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | pharmacystorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | pharmacystorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | pharmacystorage
    | {{ll|shelves}}
    | 41.14%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Ambulance
    | {{ll|Truck Bed}}
    | 23.28%
    |}
</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==
==Code==
{| class="pztable"
{{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=40|incver=43}}
*[[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=40|incver=43}}
<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]]
* [[Health|Player Health]]


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

Latest revision as of 19:06, 30 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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Bag_DoctorBag Bag_DoctorBag 6.41%
Bag_MedicalBag Bag_MedicalBag 12.41%
FirstAidKit FirstAidKit 6.41%
Nurse crate 23.28%
Nurse crate 41.14%
Nurse metal_shelves 23.28%
Nurse metal_shelves 41.14%
dentiststorage metal_shelves 23.28%
dentiststorage metal_shelves 41.14%
hospitalstorage metal_shelves 23.28%
hospitalstorage metal_shelves 41.14%
kennels counter 23.28%
kennels counter 41.14%
kennels metal_shelves 23.28%
kennels metal_shelves 41.14%
laboratory crate 23.28%
laboratory desk 23.28%
laboratory metal_shelves 23.28%
medical counter 23.28%
medical counter 41.14%
medical metal_shelves 23.28%
medical metal_shelves 41.14%
medical wardrobe 23.28%
medicalstorage counter 23.28%
medicalstorage counter 41.14%
medicalstorage metal_shelves 23.28%
medicalstorage metal_shelves 41.14%
morgue counter 23.28%
pharmacy counter 23.28%
pharmacy counter 41.14%
pharmacy metal_shelves 23.28%
pharmacy metal_shelves 41.14%
pharmacystorage counter 23.28%
pharmacystorage counter 41.14%
pharmacystorage metal_shelves 23.28%
pharmacystorage metal_shelves 41.14%
pharmacystorage shelves 23.28%
pharmacystorage shelves 41.14%
Vehicles
Type Container Effective chance
Ambulance Trunk 23.28%

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