Umbrella: Difference between revisions
m (Updated distribution table) |
m (Automated CodeBox update) |
||
Line 122: | Line 122: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item UmbrellaBlack | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 136: | Line 136: | ||
EquippedNoSprint = TRUE, | EquippedNoSprint = TRUE, | ||
WorldStaticModel = Umbrella_Closed_Black, | WorldStaticModel = Umbrella_Closed_Black, | ||
} | } | ||
}} | }} | ||
Line 148: | Line 148: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item UmbrellaBlue | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 162: | Line 162: | ||
EquippedNoSprint = TRUE, | EquippedNoSprint = TRUE, | ||
WorldStaticModel = Umbrella_Closed_Blue, | WorldStaticModel = Umbrella_Closed_Blue, | ||
} | } | ||
}} | }} | ||
Line 174: | Line 174: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item UmbrellaRed | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 188: | Line 188: | ||
EquippedNoSprint = TRUE, | EquippedNoSprint = TRUE, | ||
WorldStaticModel = Umbrella_Closed_Red, | WorldStaticModel = Umbrella_Closed_Red, | ||
} | } | ||
}} | }} | ||
Line 200: | Line 200: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item UmbrellaWhite | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 214: | Line 214: | ||
EquippedNoSprint = TRUE, | EquippedNoSprint = TRUE, | ||
WorldStaticModel = Umbrella_Closed_White, | WorldStaticModel = Umbrella_Closed_White, | ||
} | } | ||
}} | }} | ||
Line 226: | Line 226: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item ClosedUmbrellaBlack | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 269: | Line 269: | ||
HitSound = UmbrellaHit, | HitSound = UmbrellaHit, | ||
SwingSound = UmbrellaSwing, | SwingSound = UmbrellaSwing, | ||
} | } | ||
}} | }} | ||
Line 281: | Line 281: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item ClosedUmbrellaBlue | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 324: | Line 324: | ||
HitSound = UmbrellaHit, | HitSound = UmbrellaHit, | ||
SwingSound = UmbrellaSwing, | SwingSound = UmbrellaSwing, | ||
} | } | ||
}} | }} | ||
Line 336: | Line 336: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item ClosedUmbrellaRed | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 379: | Line 379: | ||
HitSound = UmbrellaHit, | HitSound = UmbrellaHit, | ||
SwingSound = UmbrellaSwing, | SwingSound = UmbrellaSwing, | ||
} | } | ||
}} | }} | ||
Line 391: | Line 391: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item ClosedUmbrellaWhite | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 434: | Line 434: | ||
HitSound = UmbrellaHit, | HitSound = UmbrellaHit, | ||
SwingSound = UmbrellaSwing, | SwingSound = UmbrellaSwing, | ||
} | } | ||
}} | }} | ||
}} | }} |
Revision as of 13:56, 26 March 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 | Durability 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.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
all | wardrobe | 4 | 0.2 |
wardrobe | 4 | 0.2 | |
wardrobe | 4 | 0.2 | |
wardrobe | 4 | 0.2 | |
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,
}