Log Wall: Difference between revisions
(replaced infobox + header + clean-up) |
m (Automated Formatting) |
||
(20 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Tiles|Barriers|Wall tiles}} | ||
{{ | {{Page version|41.78.16}} | ||
{{Infobox | {{Infobox tile | ||
| | |name=Log Wall | ||
| | |model=LogWall.png | ||
| | |icon=LogWall.png | ||
|category=Wall | |||
|size=1 | |||
|category | |||
|size | |||
<!--Properties--> | <!--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--> | ||
|disassemble_skill = [[Carpentry]] | |disassemble_skill=[[Carpentry]] | ||
|disassemble_level = 0 | |disassemble_level=0 | ||
| | |disassemble_tool_tag=Hammer | ||
|disassemble_tool_tag2=Saw | |||
<!--Technical details--> | <!--Technical details--> | ||
| | |item_id=carpentry_02_80<br>carpentry_02_81 | ||
|tile_id=carpentry_02_80 | |||
|tile_id2=carpentry_02_81 | |||
}} | }} | ||
A '''log wall''' is a | A '''log wall''' is a constructable wall that can be made by beginner carpenters. | ||
==Usage== | ==Usage== | ||
It can be used to improve [[carpentry]] early on | 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 [[rope]] | 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 | {{Crafting/sandbox2 | ||
{{ | |log_wall | ||
}} | |||
==Health== | |||
{{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== | ==See also== | ||
Line 37: | Line 73: | ||
*[[Double Wooden Door]] | *[[Double Wooden Door]] | ||
{{Navbox construction}} | {{Navbox construction|carpentry}} | ||
[[Category:Carpentry]] | |||
[[Category:Spiffo's Construction Crew (Project)]] | [[Category:Spiffo's Construction Crew (Project)]] |
Latest revision as of 09:48, 14 April 2024
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 |
---|---|---|---|---|---|
Log Wall |
One of: Ripped Sheets ×4 Twine ×4 Rope ×2 Each of: Log ×4 |
Hammer (tag) |
none | none | 1.25 Carpentry |
Health
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
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