Molotov Cocktail: Difference between revisions
m (Automated CodeBox update) |
m (Automated Formatting) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Explosives}} | ||
{{Page version|41.50}} | |||
{{ | |||
{{Infobox item | {{Infobox item | ||
|name=Molotov Cocktail | |name=Molotov Cocktail | ||
Line 20: | Line 19: | ||
<!--TECHNICAL--> | <!--TECHNICAL--> | ||
|item_id=Base.Molotov | |item_id=Base.Molotov | ||
}}A '''Molotov cocktail''' is a hand-made incendiary weapon which can be thrown by the player. | }} | ||
A '''Molotov cocktail''' is a hand-made incendiary weapon which can be thrown by the player. | |||
==Usage== | ==Usage== | ||
Molotov cocktails do not cause any damage upon impact. They will, however, spark a fire in their area of effect, allowing them to be useful for dispatching a medium to large group of [[zombie]]s. Care must be taken though, as the fire can spread and even engulf the thrower in flames. | Molotov cocktails do not cause any damage upon impact. They will, however, spark a fire in their area of effect, allowing them to be useful for dispatching a medium to large group of [[zombie]]s. Care must be taken though, as the fire can spread and even engulf the thrower in flames. | ||
A [[lighter]] must be in the secondary slot in order to use it. After throwing, another Molotov will be chosen as the current weapon if the player has one. | A [[lighter]] must be in the secondary slot in order to use it. After throwing, another Molotov will be chosen as the current weapon if the player has one. | ||
It is recommended to read more about the dangers of [[fire]]. | It is recommended to read more about the dangers of [[fire]]. | ||
Line 31: | Line 31: | ||
==Crafting== | ==Crafting== | ||
Molotov cocktails can be crafted from a full [[bourbon]] and a [[Ripped Sheet|ripped sheet]], or from a [[Gas Can|gas can]], an [[Empty Bottle|empty bottle]], and a [[Ripped Sheet|ripped sheet]]. | Molotov cocktails can be crafted from a full [[bourbon]] and a [[Ripped Sheet|ripped sheet]], or from a [[Gas Can|gas can]], an [[Empty Bottle|empty bottle]], and a [[Ripped Sheet|ripped sheet]]. | ||
{{Crafting | {{Crafting/sandbox2 | ||
|molotov_cocktail_burbon | |||
|molotov_cocktail_gas | |||
}} | |||
==Code== | ==Code== | ||
Line 41: | Line 41: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 6264 | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item Molotov | |||
{ | { | ||
DisplayCategory = Explosives, | DisplayCategory = Explosives, | ||
Line 78: | Line 78: | ||
{| class="wikitable theme-red" width="550" style="text-align:left;" | {| class="wikitable theme-red" width="550" style="text-align:left;" | ||
|- | |- | ||
! colspan="2"| Pre Alpha | ! colspan="2"| Pre Alpha | ||
|- | |- | ||
| style="text-align: center;"| Initial|| Added into the game | | style="text-align: center;"| Initial|| Added into the game | ||
Line 96: | Line 96: | ||
*[[Bourbon]] | *[[Bourbon]] | ||
{{Navbox | {{Navbox items|explosives}} |
Latest revision as of 10:20, 14 April 2024
A Molotov cocktail is a hand-made incendiary weapon which can be thrown by the player.
Usage
Molotov cocktails do not cause any damage upon impact. They will, however, spark a fire in their area of effect, allowing them to be useful for dispatching a medium to large group of zombies. Care must be taken though, as the fire can spread and even engulf the thrower in flames.
A lighter must be in the secondary slot in order to use it. After throwing, another Molotov will be chosen as the current weapon if the player has one.
It is recommended to read more about the dangers of fire.
Crafting
Molotov cocktails can be crafted from a full bourbon and a ripped sheet, or from a gas can, an empty bottle, and a ripped sheet.
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Molotov Cocktail |
One of: Ripped Sheets ×1 Dirty Rag ×1 Each of: Bourbon ×1 |
none | none | none | none |
Molotov Cocktail |
One of: Empty Bottle (disambiguation) ×1 Empty Bottle (disambiguation) ×1 Empty Bottle (disambiguation) ×1 One of: Ripped Sheets ×1 Dirty Rag ×1 |
Gas Can |
none | none | none |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item Molotov
{
DisplayCategory = Explosives,
OtherHandUse = TRUE,
MaxRange = 8,
WeaponSprite = Molotov,
Type = Weapon,
MinimumSwingTime = 1.5,
SwingAnim = Throw,
UseSelf = TRUE,
DisplayName = Molotov Cocktail,
SwingTime = 1.5,
SwingAmountBeforeImpact = 0.1,
PhysicsObject = MolotovCocktail,
MinDamage = 0,
Weight = 1.5,
MaxDamage = 0,
OtherHandRequire = Lighter,
MaxHitCount = 0,
FirePower = 90,
FireRange = 4,
Icon = Molotov,
EquipSound = MolotovCocktailEquip,
ExplosionSound = MolotovCocktailExplode,
SwingSound = MolotovCocktailThrow,
}
History
Pre Alpha | |
---|---|
Initial | Added into the game |
Alpha | |
0.2.0i | Fire temporarily taken out. Fires are invisible from this point on. |
RC 2.9 | Fire re-added but doesn't work in certain builds of this version |
2.9.9.17 | Changes to molotov flying visuals. After throwing, another molotov will be chosen as the current weapon if the player has one rather than switching to some other weapon. |