# Help with Mod needed - HalfHunger

**URL:** https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281
**Category:** The Toolbox
**Tags:** mod
**Created:** [August 18, 2018, 1:26pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281 "2018-08-18T13:26:55Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![Androwski](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@Androwski](https://discourse.cataclysmdda.org/u/Androwski)
#### Post date: [August 18, 2018, 1:26pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/1 "2018-08-18T13:26:55Z")

</div>

Hi,  
can you help me please with my first mod.  
I started on Github with that but I think this is maybe a better place.  
This is what I have:

> <https://github.com/CleverRaven/Cataclysm-DDA/issues/24892>

  
The error message is gone now.

But how do i get this mod activated in my current game?  
On the screens [ and @ it cant be seen. So it is not active, right?  
What to do next?

---

<div class="post-metadata">

### Author: ![Azure\_Soul\_Azur](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/azure_soul_azur/32/2835_2.png) [@Azure\_Soul\_Azur](https://discourse.cataclysmdda.org/u/Azure_Soul_Azur)
#### Post date: [August 18, 2018, 1:40pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/2 "2018-08-18T13:40:54Z")

</div>

Go to save/yourworldsname and find a file called mods add it to the list there

Edit : save/yourworldsname/mods.json

Go to the bottem and add " “modIDhere”, put a comma if it’s not at the end of the mods but don’t put one if it is

---

<div class="post-metadata">

### Author: ![Androwski](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@Androwski](https://discourse.cataclysmdda.org/u/Androwski)
#### Post date: [August 18, 2018, 2:02pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/3 "2018-08-18T14:02:01Z")

</div>

I don´t understand what you mean. What I already have in the mods.json is this:

[  
“dda”,  
“filthy\_morale”,  
“no\_npc\_food”,  
“novitamins”,  
“HalfHunger”  
]

---

<div class="post-metadata">

### Author: ![DaWhatTheFox](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dawhatthefox/32/1307_2.png) [@DaWhatTheFox](https://discourse.cataclysmdda.org/u/DaWhatTheFox)
#### Post date: [August 18, 2018, 2:12pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/4 "2018-08-18T14:12:15Z")

</div>

To activate a mod in a world/save file you just need to head to the mods.json file inside the world’s directory and add the mod’s ID, cased in double quotation marks. If you put it at the very end you don’t need that comma.

---

<div class="post-metadata">

### Author: ![Azure\_Soul\_Azur](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/azure_soul_azur/32/2835_2.png) [@Azure\_Soul\_Azur](https://discourse.cataclysmdda.org/u/Azure_Soul_Azur)
#### Post date: [August 18, 2018, 4:14pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/5 "2018-08-18T16:14:24Z")

</div>

Where are you storing the mod files and how?

---

<div class="post-metadata">

### Author: ![Azure\_Soul\_Azur](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/azure_soul_azur/32/2835_2.png) [@Azure\_Soul\_Azur](https://discourse.cataclysmdda.org/u/Azure_Soul_Azur)
#### Post date: [August 18, 2018, 4:15pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/6 "2018-08-18T16:15:54Z")

</div>

if you have it in the mods file already then maybe you don’t have the mod files set right.

---

<div class="post-metadata">

### Author: ![Androwski](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@Androwski](https://discourse.cataclysmdda.org/u/Androwski)
#### Post date: [August 18, 2018, 4:32pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/7 "2018-08-18T16:32:49Z")

</div>

![6](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/e/e64e4f30a729f6d907fccd8787321e768720193e.jpeg)

This is the content of both files.  
[  
{  
“type”: “MOD\_INFO”,  
“ident”: “HalfHunger”,  
“name”: “Less hungry”,  
“authors”: [“Andruschka”],  
“description”: “Halves hunger rate.”,  
“category”: “misc\_additions”,  
“dependencies”: [“dda”]  
}  
]

---

<div class="post-metadata">

### Author: ![Azure\_Soul\_Azur](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/azure_soul_azur/32/2835_2.png) [@Azure\_Soul\_Azur](https://discourse.cataclysmdda.org/u/Azure_Soul_Azur)
#### Post date: [August 18, 2018, 5:13pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/8 "2018-08-18T17:13:09Z")

</div>

what is the contents of the mutations.json might be a bug in the code

---

<div class="post-metadata">

### Author: ![Azure\_Soul\_Azur](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/azure_soul_azur/32/2835_2.png) [@Azure\_Soul\_Azur](https://discourse.cataclysmdda.org/u/Azure_Soul_Azur)
#### Post date: [August 18, 2018, 5:18pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/9 "2018-08-18T17:18:25Z")

</div>

Wait a minute… do you have the debug key set?  
If not set it to something and open the debug menu and use mutate hit the search key and type in the name of the mutation you added and see if it’s there

---

<div class="post-metadata">

### Author: ![Azure\_Soul\_Azur](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/azure_soul_azur/32/2835_2.png) [@Azure\_Soul\_Azur](https://discourse.cataclysmdda.org/u/Azure_Soul_Azur)
#### Post date: [August 18, 2018, 5:29pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/10 "2018-08-18T17:29:03Z")

</div>

![Screenshot_2018-08-18-13-23-15](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/d/db24a7c06ac3bf4cbe792d0f53e9f6b7faf7252a.png)  
 ![Screenshot_2018-08-18-13-23-24](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/4/4c5162e2c3fb6496172ba461427afd1dc512de54.jpeg) ![Screenshot_2018-08-18-13-23-32](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/a/aaa0b7fe800bcebb6249aafa274989ff89d5f964.png)

Debug menu keybinding " ` " for me  
Open the debug menu  
hit " / " and type the name of your mutation

---

<div class="post-metadata">

### Author: ![Androwski](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@Androwski](https://discourse.cataclysmdda.org/u/Androwski)
#### Post date: [August 18, 2018, 7:14pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/11 "2018-08-18T19:14:18Z")

</div>

The mutations.json has the same content. …CTRL+C  
I´ll try your tip.

EDIT: The mutation is not in there.

---

<div class="post-metadata">

### Author: ![Azure\_Soul\_Azur](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/azure_soul_azur/32/2835_2.png) [@Azure\_Soul\_Azur](https://discourse.cataclysmdda.org/u/Azure_Soul_Azur)
#### Post date: [August 18, 2018, 7:36pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/12 "2018-08-18T19:36:34Z")

</div>

Okay i think i know your problem now…  
To be sure please post a screenshot of the inside of the mutation.json for your mod.

---

<div class="post-metadata">

### Author: ![Androwski](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@Androwski](https://discourse.cataclysmdda.org/u/Androwski)
#### Post date: [August 18, 2018, 7:46pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/13 "2018-08-18T19:46:09Z")

</div>

![7](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/1/1171bdbfbd50cb3ee54fa9dd5ad1e89b536c876e.jpeg)

EDIT: The files name is mutations.json. You wrote mutation.json. Without s.

Is this an issue?

---

<div class="post-metadata">

### Author: ![Azure\_Soul\_Azur](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/azure_soul_azur/32/2835_2.png) [@Azure\_Soul\_Azur](https://discourse.cataclysmdda.org/u/Azure_Soul_Azur)
#### Post date: [August 18, 2018, 7:54pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/14 "2018-08-18T19:54:52Z")

</div>

Yes… Yes it is…

As it stands you don’t even have a mod… all you have is 2 modinfo.json’s…

Now we can go 2 ways here…

1. Me and anyone else willing to help trys to teach you to make the right file.  
Or
2. Me or someone willing trys to make it for you.

---

<div class="post-metadata">

### Author: ![Androwski](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@Androwski](https://discourse.cataclysmdda.org/u/Androwski)
#### Post date: [August 18, 2018, 7:57pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/15 "2018-08-18T19:57:56Z")

</div>

To do it that way I got as a suggestion on the discord channel. Also the thread on github did not found out that im on the wrong way.

EDIT: From the one guy who showed interest on Github, there is a demand for such a mod, which decreases the insane food needs of the game right now.

EDIT: What is a decend source to learn what is needed myself?

---

<div class="post-metadata">

### Author: ![Azure\_Soul\_Azur](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/azure_soul_azur/32/2835_2.png) [@Azure\_Soul\_Azur](https://discourse.cataclysmdda.org/u/Azure_Soul_Azur)
#### Post date: [August 18, 2018, 8:05pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/16 "2018-08-18T20:05:30Z")

</div>

There really is non that i know of…  
How i have been learning is by looking at the code for things and trail&error…

To start you should look at the mutations.json from the game and other mods to understand how they work…

There are some mutations in the game (I think) that decrease the hunger and thirst  
you can try looking at them to start.

---

<div class="post-metadata">

### Author: ![Androwski](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@Androwski](https://discourse.cataclysmdda.org/u/Androwski)
#### Post date: [August 19, 2018, 8:33am UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/17 "2018-08-19T08:33:05Z")

</div>

For the catergory I got two suggestions.

“category”: “mutations”,  
and  
“category”: “misc\_additions”,

Is there any difference of how I decide what to use?

---

<div class="post-metadata">

### Author: ![Shard](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/shard/32/2139_2.png) [@Shard](https://discourse.cataclysmdda.org/u/Shard)
#### Post date: [August 19, 2018, 1:19pm UTC](https://discourse.cataclysmdda.org/t/help-with-mod-needed-halfhunger/16281/18 "2018-08-19T13:19:05Z")

</div>

[I got annoyed and did it for you, plus several other similar mods.](https://discourse.cataclysmdda.org/t/metabolism-and-thirst-reduction-mods/16300) Link includes how-to on adding to an existing world as well.
