Smoke Bomb: Difference between revisions
Pinkytwigosh (talk | contribs) (→Use) |
(Added code from newitems.txt) |
||
Line 37: | Line 37: | ||
|} | |} | ||
==Code== | |||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | |||
{{Retrieved|version=40|incver=43}} | |||
<pre> | |||
item SmokeBomb | |||
MaxRange = 10, | |||
Type = Weapon, | |||
MinimumSwingTime = 1.5, | |||
SwingAnim = Bat, | |||
UseSelf = TRUE, | |||
DisplayName = Smoke Bomb, | |||
SwingTime = 1.5, | |||
SwingAmountBeforeImpact = 0.1, | |||
PhysicsObject = ExplosiveTrap, | |||
MinDamage = 0, | |||
Weight = 1.5, | |||
MaxDamage = 0, | |||
MaxHitCount = 0, | |||
Icon = Smokebomb, | |||
TriggerExplosionTimer = 50, | |||
SmokeRange = 5, | |||
CanBePlaced = TRUE, | |||
PlacedSprite = constructedobjects_01_36, | |||
Tooltip = Tooltip_Trap, | |||
</pre> | |||
Revision as of 07:34, 8 April 2021
This article may be in need of improvement.
Editors are encouraged to add any missing information to the article, while verifying that the article's current content is correct.
The Smoke Bomb is a thrown bomb.
Use
A potential method of use would be to drop one of these to cover yourself and get away from a horde that is following you.
Crafting
Output | Ingredients | Description | Skill Level | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
You may attach a timer or other devices for varying effects.
Output | Ingredients | Description | Skill Level | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Code
From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.43
item SmokeBomb MaxRange = 10, Type = Weapon, MinimumSwingTime = 1.5, SwingAnim = Bat, UseSelf = TRUE, DisplayName = Smoke Bomb, SwingTime = 1.5, SwingAmountBeforeImpact = 0.1, PhysicsObject = ExplosiveTrap, MinDamage = 0, Weight = 1.5, MaxDamage = 0, MaxHitCount = 0, Icon = Smokebomb, TriggerExplosionTimer = 50, SmokeRange = 5, CanBePlaced = TRUE, PlacedSprite = constructedobjects_01_36, Tooltip = Tooltip_Trap,