Project Zomboid

Project Zomboid

Balanced Immunity Trait
38 Comments
BrasileirinhoPe 9 May @ 2:25pm 
b42 when?
Thundercraft 12 Jul, 2023 @ 9:58am 
@Kreslavskiy
There actually is a Discussions tab. However, currently, it only shows up at the top of the page, right under the mod's title. I suspect the reason is that, currently, the only Discussion there is one that has been locked so no further comments can be made. (That, or maybe Steam reorganized how Discussions are displayed, among their other many recent changes.)

If you're looking to start a new Discussion, I think you still can. If you can navigate to the Discussion panel for this mod, you should be able to click the 'Start a New Discussion' button.
HOLY_YH4 12 Jul, 2023 @ 6:48am 
where the heck is the discussions tab?
MementoMori 14 Jun, 2023 @ 7:57pm 
I seem to have encountered a bug, twice now, Ive had a character get sick, get better, then instantly die/turn from an otherwise minor injury at full health- it seems like the mod can't handle the player being infected a second time. I love the idea though, and its nice to still have to be careful but also not always have a bite be an instant game over
Crimson 26 Apr, 2023 @ 1:19pm 
Nice mod, do you think you can make a mod that randomly selects whether a player character is immune or not only on the start of a new character? And make this a very very slim chance to occur

Like, for every 20 characters made, one of them is able to survive the virus if they take care of their health

This way the fear of being bit is always there for players cause they won't be sure, but when someone finds out the hard way that they're immune then it'll both be a great comeback and gives players more reason not to lose this one special character
ParasiticSquid 8 Feb, 2023 @ 10:10am 
How about a unbalanced version at some point? Because I bet role players will love to play like their ellie from the last of us or something due to being the only immune person in their group. Would be interesting for servers between friends too for similar reasons role play or not.

I for one would use it in single player myself occasionally for certain characters since disabling infection from sandbox options is cool and all but takes the fun away when you would be playing a non-immune character in the same save. Just having the option would be neat regardless though no matter how I look at it. Shoot, if you could make it a rare random chance per character and not something players could control themselves without debug mode it would be a tiny bit balanced then and no one would know until they get infected for the first time when the symptoms don't show up like normal. A neat sort of "Holy crap, im still alive and immune?!" moment lol
Siatru 3 Nov, 2022 @ 10:48pm 
can we get a module that grants immunity for certain but still with diminishing effects? -8 trait points for simply "a chance" of getting a trait doesn't feel all too balanced IMHO. I wouldn't take this trait in proper playthroughs.
Mistor Love  [author] 14 Aug, 2022 @ 3:16am 
As Thundercraft best said, I cant really test any issues with my mod unless you give specific mods that my mod conflicts with. Once you give me a name i'm sure I can make a edit to fix the issue.
Thundercraft 14 Aug, 2022 @ 12:37am 
@ [RnBw] Eclipso' wrote,
Quote, "I ended up coding this approach myself ^^ Using your code as a base I managed to have that behaviour I described in my previous comment..."

Nice! :steamthumbsup: Congratulations on doing that. But please do release your version as a Workshop mod.

The fact that your version uses some of the original mod should not be a problem. Below you can see Mistor Love [author] already gave permission to do this as long as you give proper credit and leave a link. And I agree with you: It makes more sense to have the Immunity increase after surviving each infection instead of decrease.
Thundercraft 14 Aug, 2022 @ 12:10am 
@UattO wrote, "This mod doesn't work whit other traits mod..."

Can you please tell us which mod, by name, that you think this mod conflicts with? Otherwise, how is anyone going to know which mod to avoid using this with? And how will mod authors know which mod to test and try to fix compatibility with?
UattO 5 Jul, 2022 @ 6:14am 
This mod doesn't work whit other traits mod when putting traits from mod whit this one.
UattO 23 Jun, 2022 @ 2:05pm 
Hi, I run a roleplay server and we would really need to be able to put on and remove the trait at will during the game, but unfortunately, if added after the spawn, the trait disappears after a while and seems to have no effect!
I really hope you can fix it
Mistor Love  [author] 27 Feb, 2022 @ 2:22pm 
Glad to hear, Lua is defiantly fun to get into and is a pretty easy language to code with. I'm pretty sure the project zomboid discord has an official part of the discord which is dedicated to modding though I have never checked. I personally have never used ModOptions however it might be something you can look into on the project zomboid lua documentation. As for not uploading your mod I do not mind long as you leave credit where credit is due and leave a link to this mod in your description unless you obviously replace all code and the icon.
[RnBw] Eclipso' 26 Feb, 2022 @ 6:46pm 
I actually never worked with LUA before, but I am a PHP Web Developer so I know about programming in general ^^
I'm still learning obviously: For example, now I would like to make some values configurable, but I don't know how yet. I see some other mods are using "ModOptions" (which is itself a mod too), while others uses Sandbox Vars... I don't really know the difference, and thus what's best for that kind of usage. (Do you happen to have anymore informations by any chance?)

Thank you for your mod tho, it inspired me and made me want to dig a bit into the PZ modding. I learned a bit about LUA in the process, and actually it feels quite easy to extend that game compared to some other games ^^ Also, do you know if there is a "modding community" Discord for PZ anywhere ? :)
[RnBw] Eclipso' 26 Feb, 2022 @ 6:46pm 
Yeah I understand, it would be quite a change overall and people might not be happy with that indeed :p

However, I ended up coding this approach myself ^^ Using your code as a base I managed to have that behaviour I described in my previous comment (sorry, as it was my first time digging into the PZ codes / modding, I started by reading your code, made some tests, watched a tutorial, then went into it for the last few days and here we are ! lol :) ).
But I did not publish it for that same reason though, as it is still using the same icon you made for the trait and some small parts of your code as well.. ^^"
(Feel free to use that idea if you want to, I would gladly see your take on that! ^^)
Mistor Love  [author] 22 Feb, 2022 @ 2:01pm 
Hi, I do like the idea however its big enough of change if I did do it id rather make it into another mod, like a version 2 as this mod is already used by multiple people id rather not do an entire re code on how the mod works, thanks for your response however and ill keep the idea in mind
[RnBw] Eclipso' 21 Feb, 2022 @ 2:16pm 
Hello, just passing by to say that's a nice mod idea and I will test if for sure :)
However this part "Catching the virus causes a diminishing effect on your immunity, meaning next time you might not be so lucky." makes no sens from an immunity point of view.
It should be other way round: start with a lower chance of survival and grow each time you character manage to survive to it, as your immunity system would be better prepared if you catch it again a second time.
It could be made with a min / max change of survival. Start at 50%, can grow up to 80% when you already catch it once (but never grow up to 100%) then decrease overtime to come back at 50% after like 1 mnth? So that it reflects the immune system reality a bit more IMO.
What is your opinion on this? :)
Mistor Love  [author] 19 Feb, 2022 @ 4:00am 
Hi Nooser, Far as i'm aware this mod should not conflict with any mods. after your feedback you left last time I actually went and tested this trait in both solo and in hosted multiplayer through the game and in both situations I was able to get the trait to work. it is more then likely you have a mod that might be overwriting how default traits are created. Thanks for the feedback.
Noon 18 Feb, 2022 @ 8:11pm 
Thanks for the response! We (Killacoco) and I both subbed to this mod and it would not show up in available traits. Is there a mod this conflicts with? It showed up in solo for both of us.
Mistor Love  [author] 18 Feb, 2022 @ 10:10am 
I've been personally using this on my dedicated server with zero issues, and i've infact actually been saved by the trait once during a play through on my dedicated server, again all feedback is appreciated !
Mistor Love  [author] 18 Feb, 2022 @ 10:09am 
Thanks for the interest in the mod, would you mind explaining how this mod does not work with multiplayer? thanks again
Noon 17 Feb, 2022 @ 7:20pm 
Please, please pllllleeeease update this so it works on multiplayer!!! Love the concept.
Killacoco 17 Feb, 2022 @ 7:18pm 
Does not work on Multiplayer
doctor dick 11 Feb, 2022 @ 3:10pm 
Hello! I really admire the mods you do, I came up with an idea of a mod that could serve you in case you want to make another. is a system of immunity as dying light 2 (you are totally immune until the darkness comes, and go down progressively unless you get antizine or UV light, with a counter saying how many minutes you have left of immunity to the virus, and that in the case that immunity is critical zombie virus symptoms begin to give quickly to the point of converting you).
Mikey 19 Jan, 2022 @ 9:29am 
wont show up for some reason on my server
Mistor Love  [author] 19 Jan, 2022 @ 7:38am 
Nope, it does not!
StainX 19 Jan, 2022 @ 6:24am 
Nice, exactly the mod i was looking for!
Quick question tho, does disinfecting wounds help in any way?
Monario 12 Jan, 2022 @ 10:20am 
Oh I see! Well thank you :D
Mistor Love  [author] 12 Jan, 2022 @ 9:59am 
Your not in the fault here, I just added them bcus you asked. if you wish to know further secret values let me know
Monario 12 Jan, 2022 @ 9:57am 
Ooooooooo I'm sorry, I'm so blind. I never actually looked up there for discussions, always used to seeing them just above the comments section down here xD My bad!

Thank you very much! I do love the fact that you say those chances will diminish after surviving through an infection!
Mistor Love  [author] 12 Jan, 2022 @ 9:49am 
@𝑴𝒐𝒏𝒂𝒓𝒊𝒐 Check the discussions tab
Monario 12 Jan, 2022 @ 9:21am 
@Mistor Love -- Hey o/ Love the idea of the mod, however, would it be possible to perhaps message you privately to inquire about those "immunity chances"? <_< I'm all up for fun but I also don't like starting new characters, I would really love to know if the chances are at least 50/50, as any lower than that I don't think me with my luck would get along with the mod xD

Thanks in advance o/ I know, I'm not a super hardcore PZ player, that's okay though :P
Mistor Love  [author] 11 Jan, 2022 @ 12:45pm 
Hi thanks for the feedback. I suppose you are right however thats the name that came to mind, and sadly its going to stick, thanks :)
Mink 10 Jan, 2022 @ 12:18am 
Wouldn't it make more sense to call to call it Infection Resistance since in not at all Immunity.?
Mistor Love  [author] 8 Jan, 2022 @ 12:15am 
I suppose so yes, long as you are immune
saibher 7 Jan, 2022 @ 6:41pm 
Hypothetically, does this work with the preset "everyone's infected"?
Mistor Love  [author] 7 Jan, 2022 @ 3:46pm 
Thanks :)
🕂GreenGarnish🕂 5 Jan, 2022 @ 10:49pm 
Very nice mod thanks