Project Zomboid

Project Zomboid

NRK Random Injuries
56 Comments
st1608 18 Oct, 2023 @ 1:21pm 
В существующей игре кажется не работает. Пытаюсь построить забор и получаю:
function: new -- file: NRK_RI_ISMultiStageBuild.lua line # 11 | MOD: NRK Random Injuries
function: onMultiStageBuildSelected -- file: ISBuildMenu.lua line # 376 | Vanilla
function: create -- file: ISBuildCursorMouse.lua line # 6 | Vanilla
function: tryBuild -- file: ISBuildingObject.lua line # 202 | Vanilla
function: DoTileBuilding -- file: ISBuildingObject.lua line # 177 | Vanilla.
[18-10-23 23:13:56.439] ERROR: General , 1697660036439> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: Object tried to call nil in new at KahluaUtil.fail line:82..
[18-10-23 23:13:56.439] ERROR: General , 1697660036439> DebugLogStream.printException> Stack trace:.
[18-10-23 23:13:56.440] LOG : General , 1697660036440> -----------------------------------------
STACK TRACE
Crab 17 Mar, 2023 @ 4:45pm 
i got a cut on the neck while tearing fabric....
11/10 100% recommended
BargainSale 15 Dec, 2022 @ 1:11pm 
@tanuki Any luck with that?
USER404 13 Dec, 2022 @ 7:07am 
That would be so useful Tanuki!
tanuki 9 Dec, 2022 @ 6:00am 
@Narrnika can I fix the mod and republish it?
DmnDgSys 31 Oct, 2022 @ 10:38am 
yep, still getting errors well disassembling. I hope this mod gets fixed at some point, I really love the concept!
ccwhiz 21 Oct, 2022 @ 11:49am 
Just got a few errors in game and was unable to disassemble things. Seems to happen every now and then when I make new worlds. Is anyone else getting these bugs?
Decton 16 Jul, 2022 @ 9:39pm 
This mod is still broken if anybody new was wondering. It took me forever to figure out which mod was causing errors on some crafting and assembling options. Never thought it'd be this one
Richy 16 Dec, 2021 @ 4:36am 
Confirm still not working.
If you run your game with this mod, dont remove it from your savefile, or every Item, that can couse an injury vanishes
Totally Not An Illuminate Spy 2 Nov, 2021 @ 11:50pm 
One of the recent updates made some changes to lua behind the scenes, and it seems like it borked this mod and a couple of others.
Kligan 6 Sep, 2021 @ 2:08pm 
Does not work on 41.53 :(
Shows red error box in the bottom right corner of the screen when trying to disassemble something with carpentry.
TheGungeonologist 21 Jul, 2021 @ 11:07am 
oh one more thing, the mod also disables the ability to tear curtains.
Drafura 20 Jul, 2021 @ 11:06pm 
Confirmed, since last update, the mod throws errors when you try to desconstruct beds/doors/... Would be nice if you can update this (would also be awesome if you can add an option to disable clothes damage)
TheGungeonologist 20 Jul, 2021 @ 7:24pm 
sorry about the grammar i forgot how to english
TheGungeonologist 20 Jul, 2021 @ 7:23pm 
I have tested this out in the newest version of build 41, this mod makes it so you cant deconstruct anything. you can still pick it up or destroy it with a sledgehammer but if the mod is enabled you cant dismantle anything. As of posting this i made sure every mod i had installed would didn't cause this. After about an hour of testing I am 100% sure that the cause is this mod. Please fix this asap because i love this mod and i hate to disable it.
pizzaost 10 Jun, 2021 @ 1:08am 
I agree with Moses, the clothes damage is very annoying. Good way to get that tailoring level up tho.
Comrade Shrimp 19 Apr, 2021 @ 6:26pm 
I love this mod but is it possible for it to not damage clothes? Or is that just how injuries work?
Narrnika  [author] 8 Apr, 2021 @ 10:45am 
@Hayden Almeida, I don't know. This mod for b41, but multiplayer for it has not yet been published, as far as I know.
Hayden 7 Apr, 2021 @ 5:41pm 
this mod will work on multiplayer?
Narrnika  [author] 7 Apr, 2021 @ 3:42pm 
@Hayden Almeida, you can use ModOptions - when it enabled, an additional tab will appear in the options.
Hayden 7 Apr, 2021 @ 1:56pm 
there is a way to change the values of change to occur accidents?
MotoKotofei 7 Mar, 2021 @ 12:44am 
Извиняюсь, я приукрасил насчет рубашек, ради комичного эффекта, но нога действительно сломалась когда разбирал кожу. Случилось это лишь однажды и виной может быть количество модов, что я использую.
Narrnika  [author] 6 Mar, 2021 @ 1:15pm 
@MotoKotofei, что, кстати, странно. Травму можно получить только от инструмента, а для рубашек его не требуется. Возможно, это была джинса или кожа, но тогда используются ножницы, а это колюще-режущее оружие, они не наносят переломов. Так что, если это не преувеличение и всё было именно так - сообщите, буду искать, где ошибка.
MotoKotofei 4 Mar, 2021 @ 3:54am 
У меня было 10 рубашек, которые я решил порвать на тряпки., в итоге: царапина, 2 рваные раны и сломана нога. Как в жизни, блин :steamthumbsup::happymeat:
Narrnika  [author] 28 Jan, 2021 @ 10:18am 
I added clearing the action queue when a fail occurs during crafting. So after receiving damage, the character will not continue crafting - this will give the opportunity to bind.
djvirus 27 Jan, 2021 @ 12:18pm 
I did this a week ago with the new lockpicking mod :I, i havent played since i died
Narrnika  [author] 27 Jan, 2021 @ 12:10pm 
Hmm, strange. Can I see what it writes in the logs?
djvirus 27 Jan, 2021 @ 11:55am 
I used 40 paperclips to make 40 lockpicks.. fast forwarded. my character ended up with lacerations and cuts all over his body lmao
Narrnika  [author] 27 Jan, 2021 @ 11:49am 
Updated - added support for tools from mods (see the list of updates for details).
djvirus 9 Jan, 2021 @ 10:20am 
@Narrnika You should try itemzed, its an old tool but its extrmely useful for setting balanced spawn chances for your new mod items.
Narrnika  [author] 9 Jan, 2021 @ 6:56am 
@djvirus, it's interesting idea. I won't be able to do this right now as I didn't work with the item spawn system. But I will try in the near future.

@タKaKoii」, ok, i will reduce the chance of heavy damage in the next update.
djvirus 9 Jan, 2021 @ 3:07am 
@Narrnika like the mod so far, i have a suggestion, Can you add safety magazines / books that decreases the chance you burn your foot when welding x)
タKaKoii」 7 Jan, 2021 @ 4:25pm 
Id like it to not have "deep wounds" from dismantling electronics on level 4, seems a bit over the top (good for first aid tho, but yeah, thats surely over the top for lvl 4)
aquelarrefox 6 Jan, 2021 @ 2:04pm 
i cut with a knife chopping an apple, so working, its working. i will make a desansable rampage to see whats happens
aquelarrefox 3 Jan, 2021 @ 12:39pm 
i will check
Narrnika  [author] 3 Jan, 2021 @ 10:38am 
While playing, look in the console.txt file for "NRK_RandomInjuries" - are there any lines with such a phrase, if so which ones?
aquelarrefox 3 Jan, 2021 @ 10:05am 
im using stone hamer and saw but no any injuries yet
Narrnika  [author] 3 Jan, 2021 @ 6:38am 
If you are talking about vanilla "Stone Hammer" then yes, it should work. But I didn't quite understand what exactly you were trying to do to them.
About special tools from mods - it won't work yet. I am thinking how best to solve this.
aquelarrefox 3 Jan, 2021 @ 6:23am 
should the rock hammer work and get injuries? i didnt get none even i have dismantel a quiet
aquelarrefox 2 Jan, 2021 @ 4:53am 
will not work with the special saw from junk mod? neither multitool mod?
Narrnika  [author] 1 Jan, 2021 @ 10:34pm 
the probability changes depending on the skill, if there is no skill, the probability is constant
Narrnika  [author] 1 Jan, 2021 @ 10:32pm 
yes
djvirus 1 Jan, 2021 @ 9:26pm 
"You can get injured from these recipes now - in those cases when the tool is used."
You mean if i have a recipe with "keep hammer" i can get injuries like breaking my leg?
or "keep blowtorch" where i could burn myself? regardless of the skill requirement?
Narrnika  [author] 1 Jan, 2021 @ 7:39pm 
You can get injured from these recipes now - in those cases when the tool is used. But it will be rather strange to bind the whole category of "weapons" to one skill, since you have different skills indicated in the recipes. I need to think..
djvirus 1 Jan, 2021 @ 7:15pm 
Could you add the category "Weapons"? it can cause all kinds of injuries, I would realy apreciate it. It would make both "Scrap Weapons" and "Scrap Guns" compatible with your mod.
Narrnika  [author] 1 Jan, 2021 @ 7:05pm 
In the beginning, I planned to associate this with the required skill for crafting. But in the original crafting recipes, the skill is rarely used. But sometimes two different skills are required at once: Woodwork and Trapping for the "Make Trap Box" recipe. Therefore, now the probability of damage depends on the skill, but the required skill is determined by category: "General", "Survivalist", "Carpentry" and "Trapper" - this is "Woodwork", "Electrical" - "Electricity", "Cooking" - "Cooking", "Smithing" - "Blacksmith". This only applies to crafting, building and dismantling are easier, since the required skill is indicated everywhere.
djvirus 1 Jan, 2021 @ 6:27pm 
I thought its determined by skill requirement, or is it determined by crafting category?
Narrnika  [author] 1 Jan, 2021 @ 6:15pm 
Hmm, this is a little more complicated.. Now I have added a blacksmith hammer and if it is used there will be a chance of damage. But the influence of the skill for crafting is still determined by category. I still need to think about this. If your mod has been published, post a link, please.
djvirus 1 Jan, 2021 @ 5:46pm 
Nope, I made them in a custom *Weapons* category, they require metalworking skill and tools to craft