DayZ
Not enough ratings
Any Item is Lockpick [Updated] (RELIFE)
   
Award
Favorite
Favorited
Unfavorite
Type: Mod, Server
Mod Type: Mechanics, Props, Terrain
File Size
Posted
Updated
15.500 KB
2 Jan, 2024 @ 9:26pm
2 Jan, 2024 @ 9:28pm
2 Change Notes ( view )

Subscribe to download
Any Item is Lockpick [Updated] (RELIFE)

Description
Доработка мода Any Item is Lockpick. Мод позволяет заблокировать дверь на определенные предметы, дверь блокируется каждый рестарт.
Также исправлен баг когда мапинговые (не родные карте) здания не работали, теперь их также можно заблокировать.
Теперь дверь можно открыть и закрыть только предметом из конфига.
Добавлены параметры урона и снижения количества предмета для двух действий.

Чтобы добавить дверь в конфиг, нужно взять специальную отмычку RLF_Admin_Lockpick и навести на дверь и выполнить действие. После этого в конфиге появится дверь которую можно настроить. Другим способом двери добавлять не стоит.
{ "buildpos": [ 12321.0908203125, 107.76618957519531, 10872.810546875 ], "pos": [ 12327.3134765625, 105.88617706298828, 10871.02734375 ], "index": 4, //Все что выше не трогать. Это нужно для определения двери "actionTextUnlock": "Дверь открывается Яблоком", //Текст при наведении чтобы разблокировать дверь "actionTextLock": "Дверь закрывается Яблоком", //Текст при наведении чтобы заблокировать дверь "itemsList": [ { "className": "Apple", //Класснейм предмета "decreaseQuantityLock": 2, // Отнять количество при блокировке "decreaseQuantityUnlock": 2, // Отнять количество при разблокировке "decreaseHealthLock": -5.0, // Отнять здоровье при блокировке "decreaseHealthUnlock": -5.0 // Отнять здоровье при разблокировке } ] }
Вы можете пользоваться модом свободно, делать с ним что угодно, перепаковать в свой мод, изменять и т.д, повторная загрузка мода в мастерскую разрешена с указанием ссылки на оригинальный мод.

=============================

Finalization of the Any Item is Lockpick mod. The mod allows you to block the door to certain objects, the door is blocked every restart.
A bug has also been fixed when mapping (not native to the map) buildings did not work, now they can also be blocked.
Now the door can be opened and closed only with an item from the config.
Added damage and item reduction options for two actions.

To add a door to the config, you need to take a special master key RLF_Admin_Lockpick and point it at the door and perform the action. After this, a door will appear in the config that can be configured. There is no other way to add doors.
{ "buildpos": [ 12321.0908203125, 107.76618957519531, 10872.810546875 ], "pos": [ 12327.3134765625, 105.88617706298828, 10871.02734375 ], "index": 4, //Do not touch everything above. This is needed to identify the door "actionTextUnlock": "The door opens with Apple", //Hover text to unlock the door "actionTextLock": "The door is locked with Apple", //Text on hover to lock the door "itemsList": [ { "className": "Apple", //Classname of the item "decreaseQuantityLock": 2, // Subtract quantity when locked "decreaseQuantityUnlock": 2, // Subtract the quantity when unlocking "decreaseHealthLock": -5.0, // Take away health when locked "decreaseHealthUnlock": -5.0 // Take away health when unlocking } ] }
You can use the mod freely, do whatever you want with it, repackage it into your own mod, change it, etc. Re-uploading the mod to the workshop is allowed with a link to the original mod.