Project Zomboid

Project Zomboid

104 ratings
Tori Garage Mod
2
4
2
2
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.722 MB
6 Dec, 2023 @ 7:41am
17 Dec, 2023 @ 12:40pm
2 Change Notes ( view )

Subscribe to download
Tori Garage Mod

Description
Так как не нашёл ни одного рабочего мода на гаражные ворота, решил написать свой.

Мод добавляет опцию в раздел сварки, позволяющую строить гаражные ворота 3 и 4 тайтлов.

По некоторым данным железные стены имеют запас здоровья 150 * уровень газосварки. Это взято за основу, чтобы не нарушать ванильный баланс.

3 тайтловые ворота имеют запас здоровья равный 150 * уровень газосварки.

4 тайтловые ворота имеют запас здоровья равный 300 * уровень газосварки.

В связи с некоторыми проблемами, на данный момент нет возможности увеличить максимальный запас здоровья, по этому если вы используете моды на починку, здесь они бесполезны.

Перевод:
Русский
Английский

Since I couldn’t find a single working mod for garage doors, I decided to write my own.

The mod adds an option to the welding section, allowing you to build garage doors of 3 and 4 titles.

According to some reports, iron walls have a health reserve of 150 * gas welding level. This is taken as a basis so as not to upset the vanilla balance.

3 title gates have a health reserve equal to 150 * gas welding level.

4 title gates have a health reserve equal to 300 * gas welding level.

Due to some problems, at the moment there is no way to increase the maximum health reserve, so if you use repair mods, they are useless here.

Translation:
Russian
English

Обновление:
По желанию подписчиков, добавил возможность строить внутри ванильных зданий. Плюс исправил небольшой баг.

Update:
At the request of subscribers, I added the ability to build inside vanilla buildings. Plus fixed a small bug.

Конфликты с другими модами:
Improved Build Menu [Build 41] (Выявлен пользователем Jankin)
Improved Build Menu + Extra Buildings (Выявлен пользователем NikiSm)

Conflicts with other mods:
Improved Build Menu [Build 41] (User identified Jankin)
Improved Build Menu + Extra Buildings (User identified NikiSm)

Работа в мультиплеере стабильна, проверил пользователь a-moralle

Work in multiplayer is stable, user checked a-moralle

Понравился мод, подгони на пиво [pay.cloudtips.ru]

Workshop ID: 3106934905
Mod ID: ToriGarageMod
104 Comments
prescko 14 Jun @ 5:42am 
Обновите к 42 билду, а то там ворота не работают а ломают игру
Rokko 12 May @ 8:40am 
hope you adding more graffiti options someday :)
Nightmare 12 May @ 7:35am 
Почему то не появляется раздел с воротами. 10 уровень сварки
NS.Sq neg0dn1k;3 12 Apr @ 2:23pm 
Hello! Work for 42?
Michael 9 Feb @ 11:24am 
Мод нерабочий, либо я не знаю как открыть меню из которого можно строить двери
西伯利亚酥皮烤鸭 11 Dec, 2024 @ 9:20pm 
Great, this is the garage door with x4 floor tiles that can currently be used normally. It requires reading a metalworking magazine as a condition:steamthumbsup:
broski 4 Dec, 2024 @ 9:50am 
bro mod is great but graffiti on garage doors is so cringe, lol
Homicida  [author] 8 Nov, 2024 @ 2:40pm 
[BRE] Louen/ Bloodrincer. I didn't quite understand you. Are you having a problem with the mod? Doors of 4 titles are not displayed?
[BRE] Galaad/BloodySqueezy 5 Nov, 2024 @ 3:44am 
Hello, already thanks for the mod, i just have a little ask how you choose when you build to make 3 or 4 tile door? I can only make 3 one
DinDin 30 Aug, 2024 @ 9:57pm 
The way your have programmed your menu alteration is not very compatible with other mods.

Instead of just adding things to the menu as it is, what you are doing is overwriting the base menu function.

Line 3: Events.OnFillWorldObjectContextMenu.Remove(ISBlacksmithMenu.doBuildMenu)
You're removing the entire current menu, then replacing it with the default menu with your additions.

What this means is if your mod is loaded after another mod that adds things to the menu, your mod overwrites them. Since your lua file is called Main.lua, that means it is overwriting half the alphabet.

This is unnecessary.

You can delete lines 127-137, and just do this instead:

local menu = context:getOptionFromName(getText("ContextMenu_MetalWelding"));
if menu then
local SubMenu = context:getSubMenu(menu.subOption);
local _firstTierMenu = SubMenu:addOption(getText('ContextMenu_ToriGarageDoors'), worldobjects, nil)