Project Zomboid

Project Zomboid

104 个评价
Tori Garage Mod
2
4
2
2
2
2
2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
2.722 MB
2023 年 12 月 6 日 上午 7:41
2023 年 12 月 17 日 下午 12:40
2 项改动说明 ( 查看 )

订阅以下载
Tori Garage Mod

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

Мод добавляет опцию в раздел сварки, позволяющую строить гаражные ворота 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 条留言
prescko 6 月 14 日 上午 5:42 
Обновите к 42 билду, а то там ворота не работают а ломают игру
Rokko 5 月 12 日 上午 8:40 
hope you adding more graffiti options someday :)
Nightmare 5 月 12 日 上午 7:35 
Почему то не появляется раздел с воротами. 10 уровень сварки
NS.Sq neg0dn1k;3 4 月 12 日 下午 2:23 
Hello! Work for 42?
Michael 2 月 9 日 上午 11:24 
Мод нерабочий, либо я не знаю как открыть меню из которого можно строить двери
西伯利亚酥皮烤鸭 2024 年 12 月 11 日 下午 9:20 
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 2024 年 12 月 4 日 上午 9:50 
bro mod is great but graffiti on garage doors is so cringe, lol
Homicida  [作者] 2024 年 11 月 8 日 下午 2:40 
[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 2024 年 11 月 5 日 上午 3:44 
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
?? 2024 年 8 月 30 日 下午 9:57 
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)