Antibiotics: Difference between revisions

From PZwiki
m (Fixed typo)
m (rm .)
 
(34 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{languages|Antibiotics}}
{{Header|Project Zomboid|Items|Medical items}}
{{header|The Game World|Items|Consumables|Medical Items|type=Medical|version=Version 40|incver=43}}
{{Page version|41.78.16}}
{{Infobox food
{{Infobox item
|display_name=Antibiotics
|name=Antibiotics
|name_colour=Medical
|model=Antibiotics_Model.png
|name_text_colour=Medical
|icon=Antibiotics.png
|image = Antibiotics_120px.png
|icon_name=Antibiotics
|weight = 0.1
|weight=0.1
|primary_use=[[Health#Healing|Treat]] [[Health#Types of Injuries|wound infection]]  
|primary_use=[[Health#Healing|Treat]] [[Health#Types of injuries|wound infection]]
|reduce_infection_power = 50
|reduce_infection_power=50
|class_name = Base.Antibiotics
|item_id=Base.Antibiotics
}}{{quote|text=Fights wound infections. Cannot prevent zombification.|author=In-game tooltip.}}'''Antibiotics''' are an [[item]] used in [[First Aid|first aid]].
}}
 
{{Quote|text=Fights wound infections. Cannot prevent zombification.|author=In-game tooltip}}
__TOC__
'''Antibiotics''' are an [[Items|item]] used in [[First Aid|first aid]].


==Usage==
==Usage==
===First Aid===
===First Aid===
:''For main article, see [[First Aid]]''
{{Main|First Aid}}
Antibiotics are drugs available in [[Project Zomboid]] for the treatment of ''regular'' [[Health#Types of Injuries|infections]] which arise from having an [[Health#Types of Injuries|open wound]] that hasn't been treated appropriately (not to be confused with Zombification, which is always fatal).
Antibiotics are drugs available in [[Project Zomboid]] for the treatment of ''regular'' [[Health#Types of Injuries|infections]] which arise from having an [[Health#Types of Injuries|open wound]] that hasn't been treated appropriately (not to be confused with Zombification, which is always fatal).


Antibiotics halve the strength of a current infection to help it heal.
Antibiotics halve the strength of a current infection to help it heal.


Antibiotics do nothing with the treatment of [[Moodles#Cold|colds]] and [[:File:Health-Article-Zombified.png|zombification]].
Antibiotics do nothing with the treatment of [[Cold|colds]] and [[:File:Health-Article-Zombified.png|zombification]].


==Distribution==
==Distribution==
Antibiotics spawn in [[Containers#Counters|counters]] in medical facilities. They can spawn at [[Cortman Medical]] or at the Mall, along with other places.
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Antibiotics|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>Antibiotics distribution
        <span class="mw-customtoggle-togglebox-Antibiotics" 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-Antibiotics">
    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
    |-
    | MedicalCache1
    | {{ll|MedicalBox}}
    | 10.78%
    |-
    | Nurse
    | {{ll|crate}}
    | 10.78%
    |-
    | Nurse
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 10.78%
    |-
    | SafehouseLoot
    | {{ll|medicine}}
    | 10.78%
    |-
    | all
    | {{ll|medicine}}
    | 2.22%
    |-
    | all
    | {{ll|militarycrate}}
    | 6.29%
    |-
    | bathroom
    | {{ll|counter}}
    | 2.1%
    |-
    | bathroom
    | {{ll|medicine}}
    | 2.1%
    |-
    | bathroom
    | {{ll|shelves}}
    | 2.1%
    |-
    | dentiststorage
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | hospitalstorage
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | kennels
    | {{ll|counter}}
    | 10.78%
    |-
    | kennels
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | laboratory
    | {{ll|crate}}
    | 10.78%
    |-
    | laboratory
    | {{ll|desk}}
    | 10.78%
    |-
    | laboratory
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | medical
    | {{ll|counter}}
    | 10.78%
    |-
    | medical
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | medical
    | {{ll|wardrobe}}
    | 10.78%
    |-
    | medicalstorage
    | {{ll|counter}}
    | 10.78%
    |-
    | medicalstorage
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | pharmacy
    | {{ll|counter}}
    | 10.78%
    |-
    | pharmacy
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | pharmacystorage
    | {{ll|counter}}
    | 10.78%
    |-
    | pharmacystorage
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | pharmacystorage
    | {{ll|shelves}}
    | 10.78%
    |-
    | prisoncells
    | {{ll|wardrobe}}
    | 2.1%
    |}
</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}}
    | 10.78%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Antibiotics" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Antibiotics|41.78.16-->
 
==Code==


== Code ==
{{CodeBox
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
| {{CodeSnip
{{Retrieved|version=40|incver=43}}
  | lang = java
<pre> item Antibiotics
  | line = true
Weight = 0.1,
  | start = 2245
Type = Food,
  | source = newitems.txt
DisplayName = Antibiotics,
  | retrieved = true
Icon = Antibiotics,
  | version = 41.78.16
ReduceInfectionPower   = 50,
  | code =
CustomContextMenu   = Take,
item Antibiotics
CantBeFrozen = TRUE,
    {
Tooltip = Tooltip_Antibiotics,</pre>
        DisplayCategory = FirstAid,
        Weight = 0.1,
        Type = Food,
        DisplayName = Antibiotics,
        Icon = Antibiotics,
        ReduceInfectionPower     =   50,
        CustomContextMenu   =   Take,
        CantBeFrozen = TRUE,
        Tooltip = Tooltip_Antibiotics,
        Medical = TRUE,
        WorldStaticModel = Antibiotics,
    }
}}
}}


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


{{Navbox/Consumables}}
{{Navbox items|medical}}

Latest revision as of 10:56, 1 May 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Antibiotics
Antibiotics Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Effect
Antibiotic powerAntibiotics.png
50
Technical
Item ID
Base.Antibiotics
Fights wound infections. Cannot prevent zombification.
— In-game tooltip

Antibiotics are an item used in first aid.

Usage

First Aid

Main article: First Aid

Antibiotics are drugs available in Project Zomboid for the treatment of regular infections which arise from having an open wound that hasn't been treated appropriately (not to be confused with Zombification, which is always fatal).

Antibiotics halve the strength of a current infection to help it heal.

Antibiotics do nothing with the treatment of colds and zombification.

Distribution

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

Antibiotics 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
MedicalCache1 MedicalBox 10.78%
Nurse crate 10.78%
Nurse metal_shelves 10.78%
SafehouseLoot counter 10.78%
SafehouseLoot medicine 10.78%
all medicine 2.22%
all militarycrate 6.29%
bathroom counter 2.1%
bathroom medicine 2.1%
bathroom shelves 2.1%
dentiststorage metal_shelves 10.78%
hospitalstorage metal_shelves 10.78%
kennels counter 10.78%
kennels metal_shelves 10.78%
laboratory crate 10.78%
laboratory desk 10.78%
laboratory metal_shelves 10.78%
medical counter 10.78%
medical metal_shelves 10.78%
medical wardrobe 10.78%
medicalstorage counter 10.78%
medicalstorage metal_shelves 10.78%
pharmacy counter 10.78%
pharmacy metal_shelves 10.78%
pharmacystorage counter 10.78%
pharmacystorage metal_shelves 10.78%
pharmacystorage shelves 10.78%
prisoncells wardrobe 2.1%
Vehicles
Type Container Effective chance
Ambulance Trunk 10.78%

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
item Antibiotics
    {
        DisplayCategory = FirstAid,
        Weight	=	0.1,
        Type	=	Food,
        DisplayName	=	Antibiotics,
        Icon	=	Antibiotics,
        ReduceInfectionPower     =   50,
        CustomContextMenu   =   Take,
        CantBeFrozen = TRUE,
        Tooltip = Tooltip_Antibiotics,
        Medical = TRUE,
        WorldStaticModel = Antibiotics,
    }

See also