Udderly Gun Reconditioning
Изображение 1 из 3. Материалы автора из Steam Workshop.
О материале
«Udderly Gun Reconditioning» — материал мастерской Project Zomboid. Карты, транспорт, оружие и моды для выживания. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
Want to run your own PZ server at a reasonable price with good support? 2 days free, click here!
Adds a recipe for every gun (supports vanilla, VFE, and all Udderly Guns weapons out of the box) that resets the repair count at great expense, requiring a magazine to perform per gun type.
Also adds a 0-10% chance (scales with Maintenance level) to not add to the repair count when repairing.
How To Use (for modders)
Add a recipe for your gun(s) to your gun mod, like so (prices should be scaled similar to the ones included in this mod by type and rarity for balance)..
recipe Recondition PPSh
{
PPSh=1,
ScrapMetal=40,
SheetMetal=1,
Screws=12,
BlowTorch=10,
keep [Recipe.GetItemTypes.WeldingMask],
keep [Recipe.GetItemTypes.Screwdriver],
keep [Recipe.GetItemTypes.Hammer],
SkillRequired:MetalWelding=10;Aiming=8;Maintenance=7,
Sound:BlowTorch,
NeedToBeLearn:true,
Result:PPSh,
Time:350.0,
Category:Firearm,
OnGiveXP:MetalWeldingAndMaintenance10,
OnCreate:ReconditionGun,
RemoveResultItem:true,
}
This recipe should be in Base so that this mod can find it.
After this, add a lua file to shared like so:
print("[UdderlyGuns PPSh] Looking for Udderly Gun Reconditioning..")
if UdderlyGunReconditioning and UdderlyGunReconditioning.RecipeAssignments then
print("[UdderlyGuns PPSh] Udderly Gun Reconditioning detected, adding reconditioning recipe.")
table.insert(UdderlyGunReconditioning.RecipeAssignments[3], "Recondition PPSh")
end
The index for RecipeAssignments should be the same as the volume of book, so:
-
1 = Pistols
-
2 = Revolvers
-
3 = SMGs
-
4 = ARs
-
5 = Shotguns
-
6 = Bolt-Action Rifles
-
7 = Semi-Auto Rifles
-
8 = LMGs
..and that's that!
Workshop ID: 2853285351 Mod ID: UdderlyGunReconditioning
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.