First Aid Kit: Difference between revisions

From PZwiki
m (→‎top: category project: "The Game World")
(→‎Code: CodeBox update)
Line 62: Line 62:


==Code==
==Code==
'''''From clothing_bags.txt (Project Zomboid directory/media/scripts/clothing)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
    item FirstAidKit
  | line = true
    {
  | start = 0
        DisplayCategory = Container,
  | source = clothing_bags.txt
        WeightReduction = 5,
  | retrieved = true
        Weight = 1,
  | version = 41
        Type = Container,
  | incver = 78.16
        Capacity = 4,
  | code =
        DisplayName = First Aid Kit,
item FirstAidKit
        Icon = FirstAid,
{
        OpenSound   =   OpenBag,
  DisplayCategory = Container,
        CloseSound   =   CloseBag,
  WeightReduction = 5,
        PutInSound   =   PutItemInBag,
  Weight = 1,
        MetalValue = 15,
  Type = Container,
        Medical = TRUE,
  Capacity = 4,
ReplaceInSecondHand = Bag_FirstAidKit_LHand holdingbagleft,
  DisplayName = First Aid Kit,
        ReplaceInPrimaryHand = Bag_FirstAidKit_RHand holdingbagright,
  Icon = FirstAid,
        WorldStaticModel = LunchBoxMedic_Ground,
  OpenSound = OpenBag,
    }
  CloseSound = CloseBag,
</pre>
  PutInSound = PutItemInBag,
  MetalValue = 15,
  Medical = TRUE,
  ReplaceInSecondHand = Bag_FirstAidKit_LHand holdingbagleft,
  ReplaceInPrimaryHand = Bag_FirstAidKit_RHand holdingbagright,
  WorldStaticModel = LunchBoxMedic_Ground,
}
  }}
}}


==Trivia==
==Trivia==

Revision as of 03:06, 1 February 2024

Project ZomboidItemsBaggageFirst Aid Kit

Template:Infobox container A first aid kit is a small medical container.

Usage

A first aid kit has a weight limit of 4 and can spawn containing a range of medical items. Although the name and spawnable items would suggest it can only hold medical items, it can actually hold any type of item, just like other bags. To see and use the contents of a first aid kit, it must first be equipped, just like other equippable containers.

First aid kits can spawn with:

Bandaid.png Adhesive Bandages
AlcoholWipes.png Alcohol Wipes
Bandage.png Bandage
Alcohol.png Bottle of Disinfectant
CottonBalls.png Cotton Balls
Scalpel.png Scalpel
Scissors.png Scissors
Surgical Gloves Surgical Gloves
SutureNeedle.png Suture Needle
SutureNeedleHolder.png Suture Needle Holder
Tweezers.png Tweezers

Distribution

Buildings

First aid kits can be found in buildings such as:

Vehicles

First aid kits can be found in vehicles such as:

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt

Retrieved: Build 41.78.16
item FirstAidKit
{
  DisplayCategory = Container,
  WeightReduction = 5,
  Weight = 1,
  Type = Container,
  Capacity = 4,
  DisplayName = First Aid Kit,
  Icon = FirstAid,
  OpenSound = OpenBag,
  CloseSound = CloseBag,
  PutInSound = PutItemInBag,
  MetalValue = 15,
  Medical = TRUE,
  ReplaceInSecondHand = Bag_FirstAidKit_LHand holdingbagleft,
  ReplaceInPrimaryHand = Bag_FirstAidKit_RHand holdingbagright,
  WorldStaticModel = LunchBoxMedic_Ground,
}

Trivia

  • Previously, it used to be white with a red cross, but after issues other games had with depiction of Red Cross, it was changed along with the First Aider trait to green with a white cross. Old image: FirstAid-old.png

See also