Rope: Difference between revisions

From PZwiki
m (→‎top: category project: "The Game World")
(→‎Code: CodeBox update)
Line 32: Line 32:


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
item Rope
  | line = false
{
  | source = newitems.txt
DisplayCategory = Material,
  | retrieved = true
Weight = 0.3,
  | version = 41
Type = Normal,
  | incver = 78.16
DisplayName = Rope,
  | code =
Icon = Rope,
item Rope
SurvivalGear = TRUE,
{
WorldStaticModel = Rope,
  DisplayCategory     = Material,
Tags = Rope,
  Weight             = 0.3,
}
  Type               = Normal,
</pre>
  DisplayName         = Rope,
  Icon               = Rope,
  SurvivalGear       = TRUE,
  WorldStaticModel   = Rope,
  Tags               = Rope,
}
  }}
}}


==See also==
==See also==

Revision as of 09:05, 31 January 2024

Rope
Rope Model.png
General
Category
Material
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Function
Technical
Tags
Rope
Item ID
Base.Rope

Rope is an item used in crafting.

Usage

Rope is used to craft a lamp on pillar and log wall.

It can also be used as a means of transporting logs. Using two ropes, the player can stack two to four logs to reduce the carry weight by two-thirds. Unstacking the logs will return the ropes to the player.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4
Logs2.png
Logs Stack
0 XP none Logs.png
Log x2
(consumed)
One of:
Rope.png Rope x2
Sheet Rope.png Sheet Rope x2

(consumed)


Logs3.png
Logs Stack
0 XP none Logs.png
Log x3
(consumed)
One of:
Rope.png Rope x2
Sheet Rope.png Sheet Rope x2

(consumed)


Logs4.png
Logs Stack
0 XP none Logs.png
Log x4
(consumed)
One of:
Rope.png Rope x2
Sheet Rope.png Sheet Rope x2

(consumed)


LamponPillar Carpentry.png
Lamp on Pillar
1.25 Carpentry Carpentry 4 Hammer.png
Hammer (tag)
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4
(consumed)
Rope.png
Rope x1
(consumed)
LogWall Carpentry.png
Log Wall
1.25 Carpentry none Hammer.png
Hammer (tag)
(keep)
Logs.png
Log x4
(consumed)
One of:
Ripped Sheets.png Ripped Sheets x4
Twine.png Twine x4
Rope.png Rope x2

(consumed)

Distribution

Rope is often found in hardware stores, warehouses, and sheds.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Rope
{
  DisplayCategory     = Material,
  Weight              = 0.3,
  Type                = Normal,
  DisplayName         = Rope,
  Icon                = Rope,
  SurvivalGear        = TRUE,
  WorldStaticModel    = Rope,
  Tags                = Rope,
}

See also