Molotov Cocktail: Difference between revisions

From PZwiki
(Added boilerplate, code, 2nd crafting recipe and changed image, along with minor update to info)
m (Changed category to "bomb and throwing items", removed unnecessary categories.)
Tag: categories removed
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{languages|Molotov cocktail}}
{{languages|Molotov cocktail}}
{{header|The Game World|Items|Weapons|version=Version 36|incver=40}}
{{header|The Game World|Items|Bomb and Throwing Items|version=Version 39|incver=52}}
<!--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] -->
<!--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
{{Weapons
Line 18: Line 18:


It is recommended to read more about the dangers of [[Fire|fire]].
It is recommended to read more about the dangers of [[Fire|fire]].


== Crafting ==
== Crafting ==
Line 30: Line 31:
{{RecipeLookup|3007}}
{{RecipeLookup|3007}}
|}
|}


== Code ==
== Code ==
Line 54: Line 56:
Icon = Molotov,
Icon = Molotov,
</nowiki>
</nowiki>


== History ==
== History ==
Line 72: Line 75:
|-
|-
|}
|}


==See Also==
==See Also==
Line 79: Line 83:


{{Navbox/Weapons}}
{{Navbox/Weapons}}
[[Category:Items]]
[[Category:Bomb and Throwing Items]]
[[Category:Weapons]]
[[Category:Version 0.2.0p]]

Revision as of 18:09, 2 May 2018


Template:Weapons Molotov cocktails 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.

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.

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.txt (Project Zomboid directory/media/scripts/)

	item Molotov
		OtherHandUse		= TRUE,
		MaxRange		= 8,
		Type			= Weapon,
		MinimumSwingTime	= 1.5,
		SwingAnim		= Bat,
		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