Key: Difference between revisions
m (200px model) |
VaileasysBot (talk | contribs) m (→top: Replace "Infobox_normal" with "Infobox_item") |
||
Line 1: | Line 1: | ||
{{Languages}}{{Header|The Game World|Items|Tools|type=Tool|version=Version 40|incver=40}}{{Infobox | {{Languages}}{{Header|The Game World|Items|Tools|type=Tool|version=Version 40|incver=40}}{{Infobox item | ||
|display_name=Key (Door) | |display_name=Key (Door) | ||
|name_colour=Normal | |name_colour=Normal | ||
|name_text_colour=Normal | |name_text_colour=Normal | ||
| | |model=Key_Model.png | ||
| | |model_width=200px | ||
| | |icon=Key1.png | ||
| | |icon_name=Key | ||
| | |icon2=Key2.png | ||
| | |icon_name2=Key | ||
| | |icon3=Key3.png | ||
| | |icon_name3=Key | ||
| | |icon4=Key4.png | ||
| | |icon_name4=Key | ||
| | |icon5=Key5.png | ||
| | |icon_name5=Key | ||
|weight=0.0 | |weight=0.0 | ||
|primary_use=Lock doors and unlock doors | |primary_use=Lock doors and unlock doors |
Revision as of 06:33, 23 September 2023
Usage
Locking and unlocking
Keys are connected to garage doors and regular door around the house, hovering over the key in your inventory will highlight the doors it is connected to in yellow. If it is in the player's inventory, the "Unlock Door" context option will appear when selecting a door.
Distribution
It can be found on dead zombies.
Code
From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50
item Key1 DisplayCategory = Security, Weight = 0, Type = Key, DisplayName = Key, Icon = Key1, MetalValue = 5, WorldStaticModel = Key,