Molotov Cocktail: Difference between revisions

From PZwiki
mNo edit summary
(Now mostly Standard. Also updated to 41.50)
Line 1: Line 1:
__NOTOC__
{{notice|Standard}}
{{languages|Molotov cocktail}}
{{languages|Molotov cocktail}}
{{header|The Game World|Items|Bomb and Throwing Items|version=Version 39|incver=52}}
{{header|The Game World|Items|Bomb and Throwing Items|version=Version 41|incver=50}}
<!--Comment: This section is for the infobox which will be positioned on the right of the page. Image.png is the default question mark image. The information can be pulled from the items/newitems.txt file in [Zomboid Folder\media\scripts] -->
 
{{Weapons
{{Infobox weapon
|image = Molotov_120px.png  
|display_name=Molotov cocktail
|weapontype = Ranged
|name_colour=Weapon
|ammo = None
|name_text_colour=Weapon
|mindamage = 0
|image=Molotov_120px.png
|maxdamage = 0
|image_width=100px
|hands= Primary
|category=Weapon
|weight = 1.5
|weight=1.5
|id = Molotov
|equipped=One-handed
|secondary_item=[[Lighter]] [[File:Lighter.png|32px]]
|type=Fire
|min_range=0
|max_range=8
|swing_time=1.5
|min_damage=0
|max_damage=0
|effect_power=90
|effect_range=4
|effect_type=Fire
|class_name=Base.Molotov
}}
}}
[[Molotov cocktail]]s are a hand-made incendiary weapon which can be thrown by the player. They do not cause any damage upon impact, however will spark a fire in its area of effect. Thus allowing them to be useful for dispatching a medium to large group of zombies. Care must be taken though, as the fire created will spread and maybe even engulf the thrower in flames.  
[[Molotov Cocktail]]s are a hand-made incendiary weapon which can be thrown by the player.


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, rather than switching to some other weapon.  
== Usage ==
Molotov cocktails do not cause any damage upon impact. They will, however, spark a fire in its 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 created will spread and maybe 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]].
It is recommended to read more about the dangers of [[fire]].


== Crafting ==
== Crafting ==
Line 35: Line 46:


== Code ==
== Code ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
  <nowiki>
{{Retrieved|version=41|incver=50}}
item Molotov
  <pre>   item Molotov
OtherHandUse = TRUE,
OtherHandUse = TRUE,
MaxRange = 8,
MaxRange = 8,
WeaponSprite = Molotov,
Type = Weapon,
Type = Weapon,
MinimumSwingTime = 1.5,
MinimumSwingTime = 1.5,
SwingAnim = Bat,
SwingAnim = Throw,
UseSelf = TRUE,
UseSelf = TRUE,
DisplayName = Molotov Cocktail,
DisplayName = Molotov Cocktail,
Line 53: Line 65:
OtherHandRequire = Lighter,
OtherHandRequire = Lighter,
MaxHitCount = 0,
MaxHitCount = 0,
FirePower = 90,
FirePower = 90,
FireRange = 4,
FireRange = 4,
Icon = Molotov,
Icon = Molotov,
</nowiki>
</pre>





Revision as of 23:34, 24 May 2021

Molotov cocktail
Molotov cocktail
General
Category Weapon
Encumbrance
Heavy Load
1.5
Equipped One-handed
Secondary Image.png
Skill Fire
Damage
Type Fire
Attack speed 1.5
Range 0–8 tiles
Damage 0–0
Fire power 90
Fire range 4 tiles
Technical details
Base ID Base.Molotov

Molotov Cocktails are 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 its 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 created will spread and maybe 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 one whiskey bottle (full), and a ripped sheet. Or a gas can and empty bottle (alcohol) instead of a whiskey bottle (full).

Name Recipe Description Level

























Code

From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50

    item Molotov
		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,


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.


See also

Template:Navbox/Weapons