Umbrella: Difference between revisions
(Automated update of distribution header) |
m (→Distribution: Manual update) |
||
(28 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Spears}} | |||
{{Header|Project Zomboid|Items| | {{Page version|41.78.16}} | ||
{{ | {{Reupload|Missing blue, red, and white open variants 3D models}} | ||
{{ | |||
{{Infobox item | {{Infobox item | ||
|name=Umbrella | |name=Umbrella | ||
|model=UmbrellaOpen_Model.png | |model=UmbrellaOpen_Model.png | ||
|icon= | |icon=UmbrellaBlack.png | ||
|icon_name=Umbrella ( | |icon_name=Umbrella (black) | ||
|icon2= | |icon2=UmbrellaBlue.png | ||
|icon_name2=Umbrella ( | |icon_name2=Umbrella (blue) | ||
|icon3= | |icon3=UmbrellaRed.png | ||
|icon_name3=Umbrella ( | |icon_name3=Umbrella (red) | ||
|icon4=UmbrellaWhite.png | |icon4=UmbrellaWhite.png | ||
|icon_name4=Umbrella ( | |icon_name4=Umbrella (white) | ||
|model5=Umbrella_Closed_Black_Model.png | |||
|icon5=Umbrella_Red.png | |||
|icon_name5=Umbrella (black, closed) | |||
|model6=Umbrella_Closed_Blue_Model.png | |||
|icon6=Umbrella_Red.png | |||
|icon_name6=Umbrella (blue, closed) | |||
|model7=Umbrella_Closed_Red_Model.png | |||
|icon7=Umbrella_Red.png | |||
|icon_name7=Umbrella (red, closed) | |||
|model8=Umbrella_Closed_Model.png | |||
|icon8=Umbrella_Red.png | |||
|icon_name8=Umbrella (white, closed) | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Household | |category=Household | ||
|weight=1 | |weight=1 | ||
|function=Keep player [[ | |function=Keep player [[Wet|dry]] | ||
|condition_max=7 | |condition_max=7 | ||
|skill_type=Spear | |skill_type=Spear | ||
Line 34: | Line 45: | ||
|item_id=Base.UmbrellaBlack<br>Base.UmbrellaBlue<br>Base.UmbrellaRed<br>Base.UmbrellaWhite<br>Base.ClosedUmbrellaBlack<br>Base.ClosedUmbrellaBlue<br>Base.ClosedUmbrellaRed<br>Base.ClosedUmbrellaWhite | |item_id=Base.UmbrellaBlack<br>Base.UmbrellaBlue<br>Base.UmbrellaRed<br>Base.UmbrellaWhite<br>Base.ClosedUmbrellaBlack<br>Base.ClosedUmbrellaBlue<br>Base.ClosedUmbrellaRed<br>Base.ClosedUmbrellaWhite | ||
}} | }} | ||
An '''umbrella''' is a functionable [[item]] and improvised [[Weapons|weapon]]. | An '''umbrella''' is a functionable [[Items|item]] and an improvised [[Weapons|weapon]]. | ||
==Usage== | ==Usage== | ||
===Staying dry=== | ===Staying dry=== | ||
An umbrella can be equipped by the [[player]] to keep [[ | An umbrella can be equipped by the [[player]] to keep [[Wet|dry]] when it's [[rain]]ing. This has become incredibly useful post [[build 40]], with the additional weather effects on the player, increasing the importance of staying dry, especially on windy days. | ||
===Weapon=== | ===Weapon=== | ||
Line 51: | Line 62: | ||
{{Durability weapon|3}} | {{Durability weapon|3}} | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
{ | <!--BOT FLAG|ClosedUmbrellaBlack|41.78.16--> | ||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>ClosedUmbrellaBlack distribution | |||
<span class="mw-customtoggle-togglebox-ClosedUmbrellaBlack" 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-ClosedUmbrellaBlack"> | |||
<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 | |||
|- | |||
| | | all | ||
| | | {{ll|wardrobe}} | ||
| | | 4 | ||
| | | 0.2 | ||
|4 | |- | ||
|0.2 | | closet | ||
|- | | {{ll|metal_shelves}} | ||
| | | 4 | ||
|4 | | 0.2 | ||
|0.2 | |} | ||
| | </div> | ||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-ClosedUmbrellaBlack" title="{{int:show}}/{{int:hide}}"></div></div> | |||
| | <!--END BOT FLAG|ClosedUmbrellaBlack|41.78.16--> | ||
| | |||
===Buildings=== | ===Buildings=== | ||
Line 92: | Line 100: | ||
Umbrellas are commonly found in the [[trunk]] of [[vehicles]]. | Umbrellas are commonly found in the [[trunk]] of [[vehicles]]. | ||
== | ==Trivia== | ||
*Currently, the closed variants uniformly use a red open umbrella item icon. | |||
*This item used to have a different icon before [[build 41]]: [[File:Umbrella.png]]. | |||
==Code== | ==Code== | ||
{{CodeBox| | {{CodeBox| | ||
[[File:UmbrellaBlack.png]] {{ID|Base.UmbrellaBlack}} | [[File:UmbrellaBlack.png]] {{ID|Base.UmbrellaBlack}} | ||
{{CodeSnip | {{CodeSnip | ||
Line 108: | Line 113: | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item UmbrellaBlack | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 135: | Line 139: | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item UmbrellaBlue | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 162: | Line 165: | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item UmbrellaRed | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 189: | Line 191: | ||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item UmbrellaWhite | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 216: | Line 217: | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item ClosedUmbrellaBlack | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 272: | Line 272: | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item ClosedUmbrellaBlue | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 328: | Line 327: | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item ClosedUmbrellaRed | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 384: | Line 382: | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item ClosedUmbrellaWhite | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 439: | Line 436: | ||
*[[Garden Fork]] | *[[Garden Fork]] | ||
{{Navbox | {{Navbox items|household_equipment}} | ||
[[Category: | [[Category:Household]] | ||
[[Category: | [[Category:Tools]] |
Revision as of 17:00, 24 April 2024
Base.UmbrellaBlue
Base.UmbrellaRed
Base.UmbrellaWhite
Base.ClosedUmbrellaBlack
Base.ClosedUmbrellaBlue
Base.ClosedUmbrellaRed
Base.ClosedUmbrellaWhite
An umbrella is a functionable item and an improvised weapon.
Usage
Staying dry
An umbrella can be equipped by the player to keep dry when it's raining. This has become incredibly useful post build 40, with the additional weather effects on the player, increasing the importance of staying dry, especially on windy days.
Weapon
The umbrella can hit only 1 enemy at a time (even with multi-hit enabled), dealing a maximum of 0.7 damage (unless a critical hit or using the spear charge) from up to 1.1 tiles away at an attack speed of 0.9.
Spear charge
The umbrella is considered an improvised spear. All spears have the ability to use a unique spear charge attack. The spear charge ability can be used by sprinting (Left Alt key by default), then after a few seconds of sprinting, the character will begin a spear charge and any zombie on the receiving end of the charge will be killed in one blow. Spear charges are best used against lone zombies due to the character being vulnerable during the kill animation. The noise from sprinting may also alert nearby zombies, and it is more difficult for the character to turn while sprinting. The character will fall over if they sprint into a wall.
Condition
The umbrella has a maximum condition of 7. Its rate of degradation is influenced by the spear and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (3 + maintenanceMod × 2)
. Where "maintenanceMod" is calculated using the spear and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and spear skills.
Maintenance skill | Weapon skill | Condition lower chance |
---|---|---|
0 | 0 | 1/3 (33%) |
0 | 4 | 1/5 (20%) |
0 | 8 | 1/7 (14%) |
4 | 0 | 1/7 (14%) |
8 | 0 | 1/11 (9%) |
4 | 4 | 1/9 (11%) |
4 | 8 | 1/11 (9%) |
8 | 8 | 1/15 (7%) |
10 | 10 | 1/17 (6%) |
Distribution
The loot distributions can be found in the table(s) below.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
all | wardrobe | 4 | 0.2 |
closet | metal_shelves | 4 | 0.2 |
Buildings
Umbrellas can rarely be found in wardrobes and changing room lockers.
Vehicles
Umbrellas are commonly found in the trunk of vehicles.
Trivia
- Currently, the closed variants uniformly use a red open umbrella item icon.
- This item used to have a different icon before build 41: .
Code
Base.UmbrellaBlack
Source: ProjectZomboid\media\scripts\newitems.txt
item UmbrellaBlack
{
DisplayCategory = Household,
Type = Normal,
DisplayName = Umbrella,
Icon = UmbrellaBlack,
Weight = 1.5,
primaryAnimMask = HoldingUmbrellaRight,
secondaryAnimMask = HoldingUmbrellaLeft,
StaticModel = UmbrellaBlack,
MetalValue = 9,
ProtectFromRainWhenEquipped = TRUE,
EquippedNoSprint = TRUE,
WorldStaticModel = Umbrella_Closed_Black,
}
Base.UmbrellaBlue
Source: ProjectZomboid\media\scripts\newitems.txt
item UmbrellaBlue
{
DisplayCategory = Household,
Type = Normal,
DisplayName = Umbrella,
Icon = UmbrellaBlue,
Weight = 1.5,
primaryAnimMask = HoldingUmbrellaRight,
secondaryAnimMask = HoldingUmbrellaLeft,
StaticModel = UmbrellaBlue,
MetalValue = 9,
ProtectFromRainWhenEquipped = TRUE,
EquippedNoSprint = TRUE,
WorldStaticModel = Umbrella_Closed_Blue,
}
Base.UmbrellaRed
Source: ProjectZomboid\media\scripts\newitems.txt
item UmbrellaRed
{
DisplayCategory = Household,
Type = Normal,
DisplayName = Umbrella,
Icon = UmbrellaRed,
Weight = 1.5,
primaryAnimMask = HoldingUmbrellaRight,
secondaryAnimMask = HoldingUmbrellaLeft,
StaticModel = UmbrellaRed,
MetalValue = 9,
ProtectFromRainWhenEquipped = TRUE,
EquippedNoSprint = TRUE,
WorldStaticModel = Umbrella_Closed_Red,
}
Base.UmbrellaWhite
Source: ProjectZomboid\media\scripts\newitems.txt
item UmbrellaWhite
{
DisplayCategory = Household,
Type = Normal,
DisplayName = Umbrella,
Icon = UmbrellaWhite,
Weight = 1.5,
primaryAnimMask = HoldingUmbrellaRight,
secondaryAnimMask = HoldingUmbrellaLeft,
StaticModel = UmbrellaWhite,
MetalValue = 9,
ProtectFromRainWhenEquipped = TRUE,
EquippedNoSprint = TRUE,
WorldStaticModel = Umbrella_Closed_White,
}
Base.ClosedUmbrellaBlack
Source: ProjectZomboid\media\scripts\items_weapons.txt
item ClosedUmbrellaBlack
{
DisplayCategory = Household,
MaxRange = 1.1,
WeaponSprite = Umbrella_Closed_Black,
MinAngle = 0.8,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Spear,
ConditionLowerChanceOneIn = 3,
Weight = 1,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 7,
MaxHitCount = 1,
DoorDamage = 1,
SwingAnim = Spear,
DisplayName = Closed Umbrella,
MinRange = 0.61,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = Umbrella_Red,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
TreeDamage = 0,
TwoHandWeapon = TRUE,
CriticalChance = 10,
CritDmgMultiplier = 1,
MinDamage = 0.5,
MaxDamage = 0.7,
BaseSpeed = 0.9,
DamageCategory = Slash,
DamageMakeHole = TRUE,
BreakSound = UmbrellaBreak,
HitFloorSound = UmbrellaHit,
ImpactSound = UmbrellaHit,
DoorHitSound = UmbrellaHit,
HitSound = UmbrellaHit,
SwingSound = UmbrellaSwing,
}
Base.ClosedUmbrellaBlue
Source: ProjectZomboid\media\scripts\items_weapons.txt
item ClosedUmbrellaBlue
{
DisplayCategory = Household,
MaxRange = 1.1,
WeaponSprite = Umbrella_Closed_Blue,
MinAngle = 0.8,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Spear,
ConditionLowerChanceOneIn = 3,
Weight = 1,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 7,
MaxHitCount = 1,
DoorDamage = 1,
SwingAnim = Spear,
DisplayName = Closed Umbrella,
MinRange = 0.61,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = Umbrella_Red,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
TreeDamage = 0,
TwoHandWeapon = TRUE,
CriticalChance = 10,
CritDmgMultiplier = 1,
MinDamage = 0.5,
MaxDamage = 0.7,
BaseSpeed = 0.9,
DamageCategory = Slash,
DamageMakeHole = TRUE,
BreakSound = UmbrellaBreak,
HitFloorSound = UmbrellaHit,
ImpactSound = UmbrellaHit,
DoorHitSound = UmbrellaHit,
HitSound = UmbrellaHit,
SwingSound = UmbrellaSwing,
}
Base.ClosedUmbrellaRed
Source: ProjectZomboid\media\scripts\items_weapons.txt
item ClosedUmbrellaRed
{
DisplayCategory = Household,
MaxRange = 1.1,
WeaponSprite = Umbrella_Closed_Red,
MinAngle = 0.8,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Spear,
ConditionLowerChanceOneIn = 3,
Weight = 1,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 7,
MaxHitCount = 1,
DoorDamage = 1,
SwingAnim = Spear,
DisplayName = Closed Umbrella,
MinRange = 0.61,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = Umbrella_Red,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
TreeDamage = 0,
TwoHandWeapon = TRUE,
CriticalChance = 10,
CritDmgMultiplier = 1,
MinDamage = 0.5,
MaxDamage = 0.7,
BaseSpeed = 0.9,
DamageCategory = Slash,
DamageMakeHole = TRUE,
BreakSound = UmbrellaBreak,
HitFloorSound = UmbrellaHit,
ImpactSound = UmbrellaHit,
DoorHitSound = UmbrellaHit,
HitSound = UmbrellaHit,
SwingSound = UmbrellaSwing,
}
Base.ClosedUmbrellaWhite
Source: ProjectZomboid\media\scripts\items_weapons.txt
item ClosedUmbrellaWhite
{
DisplayCategory = Household,
MaxRange = 1.1,
WeaponSprite = Umbrella_Closed_White,
MinAngle = 0.8,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Spear,
ConditionLowerChanceOneIn = 3,
Weight = 1,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 7,
MaxHitCount = 1,
DoorDamage = 1,
SwingAnim = Spear,
DisplayName = Closed Umbrella,
MinRange = 0.61,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = Umbrella_Red,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
TreeDamage = 0,
TwoHandWeapon = TRUE,
CriticalChance = 10,
CritDmgMultiplier = 1,
MinDamage = 0.5,
MaxDamage = 0.7,
BaseSpeed = 0.9,
DamageCategory = Slash,
DamageMakeHole = TRUE,
BreakSound = UmbrellaBreak,
HitFloorSound = UmbrellaHit,
ImpactSound = UmbrellaHit,
DoorHitSound = UmbrellaHit,
HitSound = UmbrellaHit,
SwingSound = UmbrellaSwing,
}