Help with a few items for my mod

Place to get help with not working mods / modding interface.
blynx217
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed May 21, 2014 3:32 am
Contact:

Help with a few items for my mod

Post by blynx217 »

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.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Help with a few items for my mod

Post by bobingabout »

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.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
orzelek
Smart Inserter
Smart Inserter
Posts: 3928
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Help with a few items for my mod

Post by orzelek »

Research labs have property researching_speed now that defines how fast they are.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Help with a few items for my mod

Post by bobingabout »

orzelek wrote:Research labs have property researching_speed now that defines how fast they are.
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.

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.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
Post Reply

Return to “Modding help”