Okay so i started making a mod and I ran into a few errors that i can't seem to find any relief on. If anyone can help please comment.
So I made a mod to increase production/speed on everything for my first mod.. I have done quite a bit but my main problem area's are trying to increase the speed at which the labs research, storage tanks holding more liquid, length of underground pipes, area of coverage for electrical polls, and increase for bullet damage..
I have an example of how im increasing production speed for mining drills here -- > -- Mining speed on drills
data.raw["mining-drill"]["basic-mining-drill"].mining_speed = 12
data.raw["mining-drill"]["burner-mining-drill"].mining_speed = 6
if anyone can help with any of these would be greatly appreciated.
Help with a few items for my mod
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Help with a few items for my mod
I think the research speed of labs is effected by crafting_speed, same as assembly machines, and furnaces.
Storage tank size is base_level in the fluid box, underground pipes and electric poles should be easy enough if you look at the code definitions for them, they do have a tag that should be easy to understand what it does.
Ammo is a bit more involved, although it should be clear how much damage it is doing when you look at the bullet ammo, editing it isn't so easy, it might be worth just redefining the whole table. Also, all types of ammo other than the bullet type, the damage is defined by the projectile, not the ammo itself. and flamethrower ammo is just odd.
Storage tank size is base_level in the fluid box, underground pipes and electric poles should be easy enough if you look at the code definitions for them, they do have a tag that should be easy to understand what it does.
Ammo is a bit more involved, although it should be clear how much damage it is doing when you look at the bullet ammo, editing it isn't so easy, it might be worth just redefining the whole table. Also, all types of ammo other than the bullet type, the damage is defined by the projectile, not the ammo itself. and flamethrower ammo is just odd.
Re: Help with a few items for my mod
Research labs have property researching_speed now that defines how fast they are.
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Help with a few items for my mod
Good to know, I may need to go back and look at my mods to change that. Fortunately with my labs, the speed is of secondary importance, they all add some new item to the research items lists.orzelek wrote:Research labs have property researching_speed now that defines how fast they are.
EDIT: Yep, I was still using crafting_speed, I'll fix that for my next mod update.
Last edited by bobingabout on Thu Oct 22, 2015 10:02 am, edited 1 time in total.