Log Wall: Difference between revisions

From PZwiki
No edit summary
m (Automated Formatting)
 
(24 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Languages|Log Wall}}
{{Header|Project Zomboid|Tiles|Barriers|Wall tiles}}
{{Items
{{Page version|41.78.16}}
|image = LogWall.png
{{Infobox tile
|weight = ?
|name=Log Wall
|model=LogWall.png
|icon=LogWall.png
|category=Wall
|size=1
<!--Properties-->
|health=See [[#Health]]
<!--Build-->
|build_skill=[[Carpentry]]
|build_level=0
|build_tool_tag=Hammer
|ingredients=<small>4 × [[File:Logs.png|20px|link=Log]] [[Log]]<br>2 ×  [[File:Rope.png|20px|link=Rope]] [[Rope]]<br>or 4 × [[File:Ripped Sheets.png|20px|link=Ripped Sheets]] [[Ripped Sheets]]<br>or 4 × [[File:Twine.png|20px|link=Twine]] [[Twine]]</small>
<!--Disassemble-->
|disassemble_skill=[[Carpentry]]
|disassemble_level=0
|disassemble_tool_tag=Hammer
|disassemble_tool_tag2=Saw
<!--Technical details-->
|item_id=carpentry_02_80<br>carpentry_02_81
|tile_id=carpentry_02_80
|tile_id2=carpentry_02_81
}}
}}
==Description==
A '''log wall''' is a constructable wall that can be made by beginner carpenters.


Log walls are very sturdy structures that can be made by beginner carpenters, and are one of the few items to train on when starting out with the carpentry skill. They are costly in terms of resources, but can withstand quite a lot of damage as a result. They'll always appear crude and cannot be decorated like a constructed [[Wall_Piece|wooden wall]] can.
==Usage==
It can be used to improve [[carpentry]] early on, as it requires no carpentry level to construct, however, it requires a large number of raw materials. A log wall can withstand a lot of damage, particularly if the player as the [[skills|handy]] skill, which only applies to log walls. The log wall cannot be decorated like a [[Wooden Wall|wooden wall]].


Be aware that if you use [[Rope]] to haul logs to the construction site, the ropes can be consumed by the wall building process instead of [[Ripped Sheets]]. Consider hauling logs first, putting away ropes, and then building the walls.
Be aware that if you have [[rope]] in your inventory, the ropes can be consumed when building the wall, instead of [[Ripped Sheets|ripped sheets]]. Consider putting ropes away before starting construction.


==Crafting==
==Crafting==
{{Crafting table header}}
{{Crafting/sandbox2
{{RecipeLookup|1021}}
|log_wall
{{Crafting table footer}}
}}


==See Also==
==Health==
* [[Wall Piece]]
{{Construction hp|log}}
 
==Code==
{{CodeBox
|{{CodeSnip
  | lang = java
  | line = false
  | retrieved = true
  | version = 41.78.16
  | code =
function ISWoodenWall:getHealth()
    if self.sprite == "carpentry_02_80" then -- log walls are stronger
    return 400 + buildUtil.getWoodHealth(self);
    else
        return 200 + buildUtil.getWoodHealth(self);
    end
end
 
buildUtil.getWoodHealth = function(ISItem)
if not ISItem or not ISItem.player then
return 100;
end
local playerObj = getSpecificPlayer(ISItem.player)
local health = (playerObj:getPerkLevel(Perks.Woodwork) * 50);
if playerObj:HasTrait("Handy") then
health = health + 100;
end
return health;
end
}}
}}
 
==See also==
*[[Wooden Wall]]
*[[Double Wooden Door]]
 
{{Navbox construction|carpentry}}


[[Category:Construction]]
[[Category:Items]]
[[Category:Carpentry]]
[[Category:Carpentry]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Spiffo's Construction Crew (Project)]]
{{Navbox/Construction}}

Latest revision as of 09:48, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Log Wall
LogWall.png
[[File:{{{icon2}}}|Log Wall|]]
[[File:{{{icon3}}}|Log Wall|]]
[[File:{{{icon4}}}|Log Wall|]]
[[File:{{{icon5}}}|Log Wall|]]
General
Category
Wall
Size
1 tile
Properties
Health
Build
Skill (level)
Tool(s)
Ingredients
4 × Logs.png Log
2 × Rope.png Rope
or 4 × Ripped Sheets.png Ripped Sheets
or 4 × Twine.png Twine
Disassemble
Skill (level)
Tool(s)
Technical
Item ID(s)
carpentry_02_80
carpentry_02_81
Tile ID(s)
carpentry_02_80 carpentry_02_81

A log wall is a constructable wall that can be made by beginner carpenters.

Usage

It can be used to improve carpentry early on, as it requires no carpentry level to construct, however, it requires a large number of raw materials. A log wall can withstand a lot of damage, particularly if the player as the handy skill, which only applies to log walls. The log wall cannot be decorated like a wooden wall.

Be aware that if you have rope in your inventory, the ropes can be consumed when building the wall, instead of ripped sheets. Consider putting ropes away before starting construction.

Crafting

Product Ingredients Tools Requirements Workstation XP
LogWall Carpentry.png
Log Wall
One of:
Ripped Sheets.png Ripped Sheets ×4
Twine.png Twine ×4
Rope.png Rope ×2
Each of:
Logs.png Log ×4

Hammer.png
Hammer (tag)
none none 1.25 Carpentry

Health

Calculations are based on log walls
Skill level HP without handy HP with handy
0 400 HP 500 HP
1 450 HP 550 HP
2 500 HP 600 HP
3 550 HP 650 HP
4 600 HP 700 HP
5 650 HP 750 HP
6 700 HP 800 HP
7 750 HP 850 HP
8 800 HP 900 HP
9 850 HP 950 HP
10 900 HP 1000 HP

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide
Retrieved: Build 41.78.16
function ISWoodenWall:getHealth()
    if self.sprite == "carpentry_02_80" then -- log walls are stronger
	    return 400 + buildUtil.getWoodHealth(self);
    else
        return 200 + buildUtil.getWoodHealth(self);
    end
end

buildUtil.getWoodHealth = function(ISItem)
	if not ISItem or not ISItem.player then
		return 100;
	end
	local playerObj = getSpecificPlayer(ISItem.player)
	local health = (playerObj:getPerkLevel(Perks.Woodwork) * 50);
	if playerObj:HasTrait("Handy") then
		health = health + 100;
	end
	return health;
end

See also