Project Zomboid

Project Zomboid

A Really CD DA Trait
59 Comments
drshahramanvariazar Mar 1 @ 2:45pm 
and the only one that can do custom sandbox
drshahramanvariazar Mar 1 @ 2:44pm 
and i found out it is not made for build 42 COME ON SOMEONE REMAKE IT ALREADY
drshahramanvariazar Mar 1 @ 2:38pm 
I BEEN LOOKING FOR THIS MOD
Nyaunix Dec 30, 2024 @ 5:08am 
I have it in the settings AReallyCDDAy.lua
SandboxVars.NatureAbundance = 5;
This means
NatureAbundance -> Very Abundant
aquelarrefox Aug 23, 2024 @ 9:40am 
the fire its extreme need to be reworked, for example the cdda anywhere does right the fire spawn
Viper Jun 20, 2024 @ 2:04am 
key rings are lootable as of 41.78, but the one the player starts with is technically a uniquely-named version and is indeed non-lootable.
Fat K Nov 22, 2023 @ 11:47am 
The Fire Only version of the trait seems to spawn fires everywhere every time you load in to the character and not just after creating the character for the first time, it seems.
EveryNova Aug 25, 2023 @ 8:18pm 
Key ring is definitely lootable, I found one in m,y current CDDA run which I am going to drop because of Zombie respawn rates. It's just incredibly rare. Rarer than a sledgehammer.
Bennyboi08 Jul 8, 2023 @ 6:18am 
honestly the very rarest item in the game is YOUR key ring since there is only one and i said YOUR key ring not just "Key ring" like Walter White's key ring like those
Їжачок Jun 28, 2023 @ 5:33am 
"- Only a key ring in their inventory since to my knowledge it's not lootable anywhere."

Actually, even though it says so on wikipedia, I have sometimes found this item among zombie corpses, without mods for it
Sammy Mar 4, 2023 @ 4:20am 
could you add more versions?
1st = Bugged Spawn Start. (Its just muldraugh, but can be done in sandbox)
2st = Burb Victim. (start covered in Burns, without bandages. but that just kills the player too fast then cover them with bandages)
3st = "No Bones Left!" Start without bones. (You have fractures, but they dont heal.)
4st = "Bone-Hurting Trait" (start with all fractures, but can heal.)
5st = Jaiden Smith (start with deep wounds in all areas)
6st = "Better off Dead" (All fractures, all burns, all deep wounds)
7st = Airy-Fairy (Start at 1 kg)
Polonez Feb 8, 2023 @ 6:14am 
just what i was looking for a mod by a masochistic gigachad to a masochistic gigachad W
Champy  [author] Nov 15, 2022 @ 8:06am 
@cheese There is already a version without the fire, look at the images.

Anyway I'm not even sure if this still works, it's been almost a year since I've taken a look at this mod. There are better alternatives out there with customizable sandbox options ; and it seems it doesn't work in multiplayer. I'm leaving this up for now but I'll probably remove it eventually.
cheese Oct 30, 2022 @ 3:04am 
Can you maybe Make another version without The Fire? Would be Awesome
flaminhotfrank Sep 29, 2022 @ 6:53pm 
is there a possibility to make it that you can spawn with a belt?
WolfShine Mar 27, 2022 @ 2:20am 
Loving it! Thank you!:steamhappy:
pipi potato Mar 24, 2022 @ 7:50am 
Doesn't work in MP, if two people have it, it will crash their game :/ and there's no fire either
SuperArchangel Jan 25, 2022 @ 5:44pm 
For me, the fire ended not long after the start. Like it was burning in the interior of the home and slightly outside it, then it stopped. I have fire spread on. I have many other mods, but nothing that should affect fire and it's spread.
Champy  [author] Jan 11, 2022 @ 10:07am 
@Krispy I think there's already a Key Ring Recipe mods out there. As for your files, you can post them on github and send me the link
LyraLux Jan 11, 2022 @ 8:07am 
Oh yeah!

I saw your ToDo about looting keyrings. There is a way to mod use of normal rolls of wire to craft a keyring. If you are interested, the script for that would look something like this:

recipe Make Keyring from Wire
{
Wire/ElectricWire,

Result:KeyRing,
Time:25.0,
Category:Misc,
NeedToBeLearn:false,
CanBeDoneFromFloor:true,
}

I don't have a mod that allows that, but I must had had one at one point because the script was in my "random scripts" folder and still works in my game.

It is strange that the base game doesn't just put keyrings on zombies. They can carry various misc or even trash items on them, so it is kind of strange keyrings aren't in the loot table.
LyraLux Jan 11, 2022 @ 8:04am 
Ok, that was a really quick test, but I can confirm that More Traits causes error messages but doesn't otherwise hurt AReallyCDDA.

What seems to be causing the flickering flames is the way that I modded AReallyCDDA to make it so that I can have clothing on for "FireOnly" and "ColdOnly", but stay naked for the main CDDA trait.

I followed what you told me to do, but I must have messed up somewhere. Is there any way I can share the modded file with you that you are comfortable with?

I'm about to leave to run an errand or two and head to an appointment, so I won't be back until some time after 4pm EST. But if you are willing to see my modded file for AReallyCDDA and can help me fix it, I would be really grateful.

Using Pillows Spawns by Profession, I like to use the FireOnly to pretend my survivor was at work and the place went up in flames, while also being injured. It was a new way to have a challenge for myself that wasn't inside a home or nude.
LyraLux Jan 11, 2022 @ 7:39am 
Going to test with just those two active and unmodded. Give me a few minutes and I'll get back to you, but I'm starting to see that the way I changed your mod so I can have clothes for the "FireOnly" and "ColdOnly" options might be causing issues and I can't wrap my head around why.

I'm going to test and get back to you.
Champy  [author] Jan 11, 2022 @ 7:28am 
@KrispyPixel So it's not compatible with the More Traits mod ?
LyraLux Jan 11, 2022 @ 4:52am 
Hey Champy.

I narrowed it down last night and found the culprit. It was Mr.Toad's More Traits mod. I went into it and removed the OP traits and any trait that gave any manner of inventory item (good and bad traits), and I altered the distributions to only let you find base.(itemname) from the base game in file cabinets. MoreTraits functioned just fine on it's own after that even with so much removed and changed, but it was still making this mod act up when I re-enabled and tested.

I wish I knew how to make a trait mod, playing with "anemic" and "Immunecompromized" were my go-to for more dangerous bleeding and colds.

CDDA is working fine now. I'll add the edit you helped me with back into it later.

As for the update, it was 3 weeks ago. I only realized that last night. Sorry again. I haven't been keeping up with the game recently, and when it went through the huge download process the other day, I thought it was more recent.

I'm a ditz. I'll own up to it.
Champy  [author] Jan 11, 2022 @ 4:24am 
@KrispyPixel So I tested it and it works fine, looks like the problem is on your end. Also there was no update, we're still in 41.65, so there is no reason for the mod to start having bugs now. Could you test it with only the Cdda trait mod enabled and nothing else?
LyraLux Jan 10, 2022 @ 4:28pm 
Ty and np. I'm currently not on any betas, just using the stable MP 41 build. If I need to switch, please let me know. This is the first time I haven't been on a beta for PZ in years haha.

It could be a conflict with one of my other mods, but I've disabled a lot of them already. I'll do a process of elimination again tonight, and if that fails, I'll reinstall the full game and go unsub/resub to the mods I'm using.

I did that 2nd step already, but if there are no problems on your end, then it has to be on mine.

Take your time and thanks again~
Champy  [author] Jan 10, 2022 @ 4:16pm 
@Krispy There was an update? I neet to check the patch notes. I will look into it tomorrow, but if it really is completely broken like you described, I may take a few days to sort it out. Thanks for the notice
LyraLux Jan 10, 2022 @ 3:45pm 
Ah, I forgot! When taking the full CDDA trait, you aren't able to bandage yourself. You can perform the action, but you keep bleeding and the bandage (ripped sheets) just vanish.
LyraLux Jan 10, 2022 @ 3:27pm 
Heya Champy! It looks like this mod may need some updating. I was testing mostly vanilla and took the full CDDA trait. I spawned with clothing on and errors kept piling up well into 500+ and the flames were flickering.

Prior to the recent massive update, this mod was fine (even with my edits).

I discovered something about the explode function to set fire outdoors. It would follow the player and flicker in squares. Removing the explode function entirely stopped that. That still works right now in the current stable build.

Is it possible to start a fire outside with something like:
StartBurnOutsideAround(getTile(playerSquare, IsoDirections.NW, 5));
Just as an example? I may try playing with that when/if you have time to update the mod.

I'm not even certain if StartBurnOutside is even a call function.

I love this mod, and talking with you briefly has improved my limited knowledge on modding. If this mod is currently bugged from the update, I hope the info I gave helps you!
Orbit Dec 28, 2021 @ 3:43am 
it shuld give like 10 points
Wolf401 Dec 23, 2021 @ 4:09am 
@Champygnakx thats ok that you won't, just is tedious to do it when making a server for some friends, since i don't know if it is a client side or server side change with each minor change
Champy  [author] Dec 23, 2021 @ 3:38am 
@Wolf401 I won't change the cost of these traits. But it should be easy enough to modify the costs yourself in the mod folder. Just go to the file media/lua/shared/NPCs/AReallyCDDA_MainCreationMethods.lua and change the lines 6, 13 and 20.
Wolf401 Dec 22, 2021 @ 6:56pm 
i'm quite happy to see this being made to work well, though i feel like balancing it out as a perk that could be taken seriously would be cool, while so far i've not seen anything that could be wrong, maybe exception being item start traits, traits that give an item or something might end up deleted but if you do choose to modify the cost i feel like 5 for the non fire and 4 for just the fire would be damaging enough, since players usually end up attracting zombies asap when either start happens, and real cdda would be 9 maybe 10 or 11 points, just because the added challenge is from people having the option to challenge themselves, yes i am kinda wanting to have this added into a multiplayer server so instead of having to modify it this would be easier to ask, i love these mods tbh i just have a different style of looking at things
gato fisura Dec 22, 2021 @ 3:52pm 
I love it. Thank you!
Champy  [author] Dec 20, 2021 @ 8:55am 
@KrispyPixel You're welcome man, have fun
LyraLux Dec 20, 2021 @ 7:59am 
Success! It worked! And I learned a little more about coding in the process. ^ ^ Tysvm for your help and patience! 💖
Champy  [author] Dec 20, 2021 @ 7:19am 
@KrispyPixel To do that you'd need to create a new function named initCDDAclothes(_player) for example.
In that function, cut and paste the lines I told you to delete previously.
Then call that new function "initCDDAClothes(player) in the function initCDDA() line 93 after the lines initCDDAPlayer(player) and initCDDAFire(player), line 99.

Something like that.
LyraLux Dec 20, 2021 @ 7:00am 
I'm looking for what I need to change or delete here, for example, and still have fire everywhere without hurting the main cdda trait.

local function initCDDAFireOnly()
local player = getPlayer();
if player:getHoursSurvived() > 1 then return end --additionnal security check
if player:HasTrait("AReallyCDDA") or player:HasTrait("AReallyCDDAPlayerOnly") then return end -- end function if player has cdda trait
if not player:HasTrait("AReallyCDDAFireOnly") then return end -- end function if player doesn't have cdda fire only trait
initCDDAFire(player); -- init fire around player, inside and outside
addSound(player, player:getX(), player:getY(), 0, 100, 100);--zombies heard the player break his shower's glass //TODO not sure if this works
Events.OnTick.Remove(initCDDAFireOnly);-- we remove the function from the OnTick event, so that the function is only called once
Events.OnTick.Remove(initCDDAPlayerOnly);
Events.OnTick.Remove(initCDDA);
end
LyraLux Dec 20, 2021 @ 6:57am 
I'm sorry if I didn't make that clear. I get misunderstood a lot and I believe I have communication issues. =\

And notepad doesn't show me numbered code lines.
LyraLux Dec 20, 2021 @ 6:56am 
I'm a CDDA addict, but I'm so tired of Muldraugh (2k hours in game and most of those hours are CDDA), that's why your mod caught my attention in the first place =)

But I just want to have clothing on for "fire only" and "player only", not the "CDDA" full-package trait. It has been fun being able to move the challenge to the new Louieville map.

Forgive me for my ignorance, but I'm using notpad to edit my lua files. Is 70 to 78 the entire code like "getinventory, clearinventory, playerclothingitem_heads/hands/feet/etc nill"? Wouldn't that make all the traits, including the main CDDA one, not be naked? I dont' want to change the main CDDA challenge trait. Only the "fireonly" and "playeronly" ones.
Champy  [author] Dec 20, 2021 @ 4:30am 
@KrispyPixel I can't make a new version everytime someone asks for it. This trait tries to follow the spirit of the original CDDA, so you start nude.
That being said if you want to do it yourself:
- open the mod folder, go to media/client/AReallyCDDA.lua
- go to the function initCDDAPlayer (line 62) and comment or delete the lines 70 to 78. If you read the code it's pretty self-explanatory what those lines do.
That should do it.
LyraLux Dec 19, 2021 @ 7:16pm 
Would you please consider adding another variation of the nofire and player only traits? I want to be able to start surrounded by fire, but fully clothed (I use Pillows spawns by profession) and it is strange to be naked in my survivor's place of work on spawn. Same with being really sick only. "Why am I naked in a mall/burger joint/construction site/etc?"

I've tried editing the mod myself, but I don't know what needs to be removed to achieve what I'm after. Alternatively, just tell me what I need to remove and I'll do it for my own play-through. =)
StealtHiBye Dec 4, 2021 @ 2:25pm 
Yeah, I'm kinda leaning on being a weird bug. Sorry, forgot to mention I did the tests running quite a long mod list. Suppose I'll have to take a better look at that. Also, big thanks on the fireless version, appreciate being fast!
Champy  [author] Dec 4, 2021 @ 9:16am 
@StealtHiBye I've tested it a whole bunch of times, I never saw the scratches be infected with Debug mode.
I've made a new version of the trait that doesn't spawn fire and updated the mod.
Champy  [author] Dec 2, 2021 @ 12:42pm 
@StealtHiBye I didn't think those scratches could get infected by the zombie virus. I'll look into it.

I've been thinking about making a third version of the trait that doesn't spawn fires. I'll do it when I have time
StealtHiBye Dec 2, 2021 @ 10:33am 
Hey, thanks for the mod. I got a question. Would it be possible to move the lodged glass shard to one of the lower arms? I like doing rp runs, and that would fit better than the groin one (small nitpick, so feel free to ignore if it isn't possible). I also have a few runs to do before this, so take your time. I think one with only the debuffs, no fire would be nice too, just to have every option.
Also, I did a few test runs and one of them started my character with scratches on both shins and torso. After dying from the fire and before I stumbled on my first zombie, he turned. I didn't change the infection tab on sandbox, so I'm just wondering if there's a chance of the game infecting the character when applying the scratch at the beginning, or if it was just some other weird bug.
Ranieri Nov 30, 2021 @ 8:35pm 
coloca so pra começar com um resfriado grave também. isso ja e bem divertido.
Gina Nov 28, 2021 @ 4:29am 
Edit to my previous comment - It wasn't your mod, my mistake, It was the mod sunburn.. I forgot to turn it off and the sun was burning my naked body outside in seconds.. Headsup to anyone else using sunburn also haha!
Gina Nov 28, 2021 @ 4:26am 
I'm getting invisible fires outside my starting house that burn me to death, it's probably a mod clash, any idea what one it might be? Or any other thoughts on this. thanks in advance <3
Champy  [author] Nov 17, 2021 @ 2:18pm 
@Clebenstein no, that's intended. The trait spawns fire at your house but also outside in the vicinity.