Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - mattyboof

#1
Help / Custom Generator - Refuel problem
September 14, 2017, 08:54:05 AM
Hi All

I made a copy of the vanilla generator in my mod but instead of running on wood Ive set it to run on hay.

Whilst this seems to work fine the only problem is that once it drops below 30% fuel the pawns re-fuel it but by taking 1 hay at a time not a stack (or whatever their carrying capacity may be). This leads to my pawns literally constantly going back and forward to the generator with single items of hay.

This happens regardless of the capacity and use rate (and various ratios) I set.

Ive taken a look at several other generator mods and keep seem to see anything im doing wrong.

#2
Hi everyone.

I made a new drug and whilst it works great I cant seem to find the parameter which determines how long the effects last.

I have downloaded a few mods do deconstruct and looked over the wiki but nothing jumps out as obvious. Can anyone tell me the parameter I should add / modify?

I basically want the drug to last 3-5 days before another administration is needed.
#3
Help / [SOLVED]Custom Milk
September 01, 2017, 12:03:58 PM
I have successfully followed Emans tutorial for adding a new animal.

I made a custom cow with an enhanced amount of leather and a changed the stats of the leather to suit.

I have also successfully given the cow wool to be harvested.

The cow all works fine in game etc however

What I can't seem to get to work is custom milk when i add this the cow is no longer available in game (but i get no errors). I wanted a more robust and nutritious milk to be produced without overwriting the main milk in the game. I called my custom milk "Amilk"

I have therefore copied the milk part of the xml from the core mod and made a fully tagged etc and placed it in "ThingDefs_Items" and called the file "Items_Resource_Amilk.xml" I have also changed the "<milkDef>Milk</milkDef>" to "<milkDef>Amilk</milkDef>" in the "Races_Animal_Acow.xml" etc and changed all references from Milk (or milk) to Amilk or amilk respectively.

Am I missing something here guys?

I can post the files a little later as im away from my main pc.

Many thanks in advance.