![]() |
PZwiki Update Project — Project Zomboid has received its largest update ever. We need your help to get the wiki updated to build 41! Want to get started? See the community portal or join the discussion on the official Discord (pzwiki_editing). We appreciate any level of contribution. |
Plastic Cup
Jump to navigation
Jump to search
![]() |
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics. |
![]() |
English |
Navigation: | Main>The Game World>Items>Tool>Plastic Cup | Page updated: Version 41.78.16 |
---|
Plastic Cup | |
---|---|
![]() | |
General | |
Category | Item |
Weight |
Empty: 0.1 Full: 0.3 |
Function | Cooking utensil |
Capacity | 2 units |
Contents | Water |
Can boil water | Only in Microwave Oven |
Rain factor | 0.2 |
Technical details | |
item ID |
Base.PlasticCup Base.PlasticCupWater |
“ | “Contents can only be purified in a microwave. Can be used to collect rainwater when placed on the ground outside.” |
— In-game tooltip |
An plastic cup is a water container used in cooking.
Usage
An plastic cup turns into a plastic cup of water when filled with water from a water source. The plastic cup can also be used to craft a beverage. A cup holds 2 units of water.
Plastic cup can be placed outside in the rain to collect rain water. The water must be boiled before drinking, but it can be done only in a microwave oven. A plastic cup of water can be left in the player's main inventory and will be consumed as it's needed.
Code
From newitems.txt (Project Zomboid directory/media/scripts/)
Plastic Cup
Retrieved: Build 41.78.16
item PlasticCup { DisplayCategory = WaterContainer, Type = Normal, DisplayName = Plastic Cup, Icon = PlasticCup, Weight = 0.1, WorldStaticModel = PlasticCup_Ground, CanStoreWater = TRUE, ReplaceOnUseOn = WaterSource-PlasticCupWater, ReplaceTypes = WaterSource PlasticCupWater, RainFactor = 0.2, Tooltip = Tooltip_item_RainFromGroundOnlyPurifyMicrowave, }
From items_food.txt (Project Zomboid directory/media/scripts/)
Plastic Cup of Water
Retrieved: Build 41.78.16
item PlasticCupWater { DisplayName = Plastic Cup of Water, DisplayCategory = Water, Type = Drainable, Weight = 0.3, Icon = PlasticCup, CanStoreWater = TRUE, EatType = Can, FillFromDispenserSound = GetWaterFromDispenserCeramic, FillFromTapSound = GetWaterFromTapCeramic, IsWaterSource = TRUE, RainFactor = 0.2, ReplaceOnDeplete = PlasticCup, ReplaceOnUseOn = WaterSource-PlasticCupWater, Tooltip = Tooltip_item_RainFromGroundOnlyPurifyMicrowave, UseDelta = 0.5, UseWhileEquipped = FALSE, CustomEatSound = DrinkingFromMug, WorldStaticModel = PlasticCup_Ground, }