Campfire Materials: Difference between revisions

From PZwiki
m (Cleanup)
(added model + update code block)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Construction|type=Construction|version=Version 40|incver=43}}{{Infobox normal
{{Languages}}{{Header|The Game World|Items|Construction|type=Construction|version=Version 41|incver=78.16}}{{Infobox normal
|display_name=Campfire Materials
|display_name=Campfire Materials
|name_colour=Construction
|name_colour=Construction
|name_text_colour=Construction
|name_text_colour=Construction
|image=TZ_CampfireKitWood.png
|image=CampfireMaterials_Model.png
|alternate_image=Campfire.png
|image_width=200px
|alternate_name=Campfire
|alternate_image=TZ_CampfireKitWood.png
|alternate_link=Campfire
|alternate_name=Campfire Materials
|alternate_image2=Campfire.png{{!}}32px
|alternate_name2=Campfire
|alternate_link2=Campfire
|weight=2
|weight=2
|class_name=Base.CampfireKit
|class_name=camping.CampfireKit
}}'''Campfire materials''', previously called '''campfire kit''', is a camping kit used to place a [[campfire]] in any location.
}}'''Campfire materials''', previously called '''campfire kit''', is a camping kit used to place a [[campfire]] in any location.


Line 33: Line 36:
==Code==
==Code==
'''''From camping.txt (Project Zomboid directory/media/scripts/)'''''
'''''From camping.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=39|incver=67.5}}
{{Retrieved|version=41|incver=78.16}}
<pre>
<pre>
item CampfireKit
item CampfireKit
Type = Normal,
{
DisplayName = Campfire Materials,
    DisplayCategory = Camping,
Icon = TZ_CampfireKitWood,
Type = Normal,
Weight = 2.0,
DisplayName = Campfire Materials,
Icon = TZ_CampfireKitWood,
Weight = 2.0,
WorldStaticModel = CampfireMaterials,
}
</pre>
</pre>



Revision as of 08:02, 18 June 2023

The Game WorldItemsConstructionCampfire Materials
Campfire Materials
Campfire Materials
Campfire Materials Campfire
General
Category Item
Encumbrance
Heavy Load
2
Technical details
Base ID camping.CampfireKit

Campfire materials, previously called campfire kit, is a camping kit used to place a campfire in any location.

Usage

To place it, right click on the ground and select "Build a fire" when the kit is in the player's inventory. The campfire will be placed, but will not be on fire.

To light the campfire, the player requires a fuel item, and either a lighter, matches, or a notched wooden plank with a sturdy stick. A campfire kit may be picked up and placed elsewhere, or left on the ground to re-ignite later. It is unnecessary to extinguish the campfire before picking it up. Any items inside the campfire will be placed on the ground if it is picked up, but fuel will be lost.

Starting a fire inside a building will burn the building down. This can be useful for clearing property or devastating to home bases.

Zombies are attracted to the light that fire gives off.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
TZ CampfireKitWood.png
Campfire Materials
0.5 Carpentry none Logs.png
Log x2
(consumed)

(consumed)
TZ CampfireKitWood.png
Campfire Materials
0.75 Carpentry none Plank.png
Plank x3
(consumed)

(consumed)

Construction

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Campfire.png
Campfire
0 XP none TZ CampfireKitWood.png
Campfire Materials
(consumed)

Code

From camping.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.78.16

	item CampfireKit
	{
	    DisplayCategory = Camping,
		Type				=		Normal,
		DisplayName			=	 Campfire Materials,
		Icon				=		TZ_CampfireKitWood,
		Weight				=		2.0,
		WorldStaticModel = CampfireMaterials,
	}

See also