# Making scenarios mod, but one keeps instantly dying

**URL:** <https://discourse.cataclysmdda.org/t/making-scenarios-mod-but-one-keeps-instantly-dying/29325>\
**Category:** The Lab\
**Created:** [July 22, 2024, 11:07pm UTC](https://discourse.cataclysmdda.org/t/making-scenarios-mod-but-one-keeps-instantly-dying/29325 "2024-07-22T23:07:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrAbrahms](https://avatars.discourse-cdn.com/v4/letter/m/fbc32d/32.png) [@MrAbrahms](https://discourse.cataclysmdda.org/u/MrAbrahms)\
**Post date:** [July 22, 2024, 11:07pm UTC](https://discourse.cataclysmdda.org/t/making-scenarios-mod-but-one-keeps-instantly-dying/29325/1 "2024-07-22T23:07:54Z")

</div>

I’m making a mod with some challenge scenarios, 3 so far. Two of them are working fine, though they need a few tweaks, but the other one, the character starts with a broken torso every time. I’ve tested it about 50 times, including multiple times with a character with 20 in every stat, and not one of them has lived past the first turn.

The scenario:

{  
“type”: “scenario”,  
“id”: “l4d”,  
“name”: “Left for dead”,  
“points”: -5,  
“description”: “You’ve been kidnapped and taken to a remote location, where you were stripped, drugged, r\*\*\*\*d, badly beaten, and left for dead. Can you beat the odds and survive?”,  
“start\_name”: “Remote Location”,  
“allowed\_locs”: [“sloc\_cabin”, “sloc\_cabin\_lake”, “sloc\_hermit\_shack”, “sloc\_barn\_ruin”, “sloc\_lighthouse\_ground”, “sloc\_lmoe”],  
“professions”: [“naked”, “svictim”],  
“eoc”: “scenario\_left\_for\_dead”,  
“flags”: [“CHALLENGE”, “HELI\_CRASH”, “LONE\_START”]  
}

The effect\_on\_condition:

{  
“type”: “effect\_on\_condition”,  
“id”: “scenario\_left\_for\_dead”,  
“eoc\_type”: “SCENARIO\_SPECIFIC”,  
“effect”: [  
{ “u\_add\_effect”: “flu”, “intensity”: 1, “duration”: “1000 minutes” },  
{ “u\_add\_effect”: “infected”, “intensity”: 1, “duration”: “PERMANENT”, “target\_part”: “RANDOM” },  
{ “u\_add\_effect”: “drunk”, “intensity”: 1, “duration”: “720 minutes” },  
{  
“u\_add\_morale”: “morale\_feeling\_bad”,  
“bonus”: -100,  
“max\_bonus”: -100,  
“duration”: “500 minutes”,  
“decay\_start”: “200 minutes”  
}  
]  
}

I want the character to start with an infected wound on the torso, but I tried changing it to random to see if it helped, and it hasn’t made any difference. I tried removing the flu (it’s kinda temporary anyway) but that didn’t make a difference either.

On the same topic, I’m trying to give the character an approximation of having been dosed with rohypnol, barbiturates, and lsd, but I can’t find a list of valid effects; I tried “opiate” (opiate withdrawal) and “fatigue”, and both of those were invalid. Basically I want the character nauseous, hallucinating, exhausted. I also want them in severe pain (though the HELI-CRASH flag should take care of that. Any ideas how I can add these effects?

Also, for one of the other scenarios, I’d like to restrict the character’s age (it makes sense for the scenario). Is that possible?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/1X/21b5d044e8473b25d0bf905d60477e25f6fbe0cf.png) [@system](https://discourse.cataclysmdda.org/u/system)\
**Post date:** [July 24, 2024, 6:26pm UTC](https://discourse.cataclysmdda.org/t/making-scenarios-mod-but-one-keeps-instantly-dying/29325/2 "2024-07-24T18:26:48Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/1X/21b5d044e8473b25d0bf905d60477e25f6fbe0cf.png) [@system](https://discourse.cataclysmdda.org/u/system)\
**Post date:** [July 25, 2024, 12:43pm UTC](https://discourse.cataclysmdda.org/t/making-scenarios-mod-but-one-keeps-instantly-dying/29325/3 "2024-07-25T12:43:59Z")

</div>


