Antibiotics: Difference between revisions

From PZwiki
m (Remove 120px, minor fixes)
m (Distribution table update)
(27 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 food
{{Header|Project Zomboid|Items|Medical items}}
|display_name=Antibiotics
{{Page version|41.78.16}}
|name_colour=Medical
{{Infobox item
|name_text_colour=Medical
|name=Antibiotics
|image=Antibiotics.png
|model=Antibiotics_Model.png
|icon=Antibiotics.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==
Line 19: Line 21:
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]], the clinic in [[West Point]], and the hospitals and clinics in [[Louisville]], 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">
    <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
    |-
    | MedicalCache1
    | {{ll|MedicalBox}}
    | 4
    | 4
    |-
    | Nurse
    | {{ll|crate}}
    | 4
    | 4
    |-
    | Nurse
    | {{ll|metal_shelves}}
    | 4
    | 4
    |-
    | SafehouseLoot
    | {{ll|counter}}
    | 4
    | 4
    |-
    | SafehouseLoot
    | {{ll|medicine}}
    | 4
    | 4
    |-
    | all
    | {{ll|medicine}}
    | 4
    | 0.25
    |-
    | all
    | {{ll|militarycrate}}
    | 4
    | 2
    |-
    | bathroom
    | {{ll|counter}}
    | 4
    | 0
    |-
    | bathroom
    | {{ll|medicine}}
    | 4
    | 0
    |-
    | bathroom
    | {{ll|shelves}}
    | 4
    | 0
    |-
    | dentiststorage
    | {{ll|metal_shelves}}
    | 4
    | 4
    |-
    | hospitalstorage
    | {{ll|metal_shelves}}
    | 4
    | 4
    |-
    | kennels
    | {{ll|counter}}
    | 4
    | 4
    |-
    | kennels
    | {{ll|metal_shelves}}
    | 4
    | 4
    |-
    | laboratory
    | {{ll|crate}}
    | 4
    | 4
    |-
    | laboratory
    | {{ll|desk}}
    | 4
    | 4
    |-
    | laboratory
    | {{ll|metal_shelves}}
    | 4
    | 4
    |-
    | medical
    | {{ll|counter}}
    | 4
    | 4
    |-
    | medical
    | {{ll|metal_shelves}}
    | 4
    | 4
    |-
    | medical
    | {{ll|wardrobe}}
    | 4
    | 4
    |-
    | medicalstorage
    | {{ll|counter}}
    | 4
    | 4
    |-
    | medicalstorage
    | {{ll|metal_shelves}}
    | 4
    | 4
    |-
    | pharmacy
    | {{ll|counter}}
    | 4
    | 4
    |-
    | pharmacy
    | {{ll|metal_shelves}}
    | 4
    | 4
    |-
    | pharmacystorage
    | {{ll|counter}}
    | 4
    | 4
    |-
    | pharmacystorage
    | {{ll|metal_shelves}}
    | 4
    | 4
    |-
    | pharmacystorage
    | {{ll|shelves}}
    | 4
    | 4
    |-
    | prisoncells
    | {{ll|wardrobe}}
    | 4
    | 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
    | 4
    |}
</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==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
 
{{Retrieved|version=40|incver=43}}
{{CodeBox
<pre> item Antibiotics
| {{CodeSnip
Weight = 0.1,
  | lang = java
Type = Food,
  | line = true
DisplayName = Antibiotics,
  | start = 2245
Icon = Antibiotics,
  | source = newitems.txt
ReduceInfectionPower   = 50,
  | retrieved = true
CustomContextMenu   = Take,
  | version = 41.78.16
CantBeFrozen = TRUE,
  | code =
Tooltip = Tooltip_Antibiotics,</pre>
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==
==See also==
[[First Aid|General First Aid]]
*[[First Aid]]


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

Revision as of 16:40, 23 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]
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
Containers
Building / Room Container Rolls Chance
MedicalCache1 MedicalBox 4 4
Nurse crate 4 4
Nurse metal_shelves 4 4
SafehouseLoot counter 4 4
SafehouseLoot medicine 4 4
all medicine 4 0.25
all militarycrate 4 2
bathroom counter 4 0
bathroom medicine 4 0
bathroom shelves 4 0
dentiststorage metal_shelves 4 4
hospitalstorage metal_shelves 4 4
kennels counter 4 4
kennels metal_shelves 4 4
laboratory crate 4 4
laboratory desk 4 4
laboratory metal_shelves 4 4
medical counter 4 4
medical metal_shelves 4 4
medical wardrobe 4 4
medicalstorage counter 4 4
medicalstorage metal_shelves 4 4
pharmacy counter 4 4
pharmacy metal_shelves 4 4
pharmacystorage counter 4 4
pharmacystorage metal_shelves 4 4
pharmacystorage shelves 4 4
prisoncells wardrobe 4 0
Vehicles
Vehicle Type/Location Rolls Chance
AmbulanceTruckBed 4 4

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