[SOLVED] How to achieve base_productivity in 2.0?

Place to get help with not working mods / modding interface.
User avatar
Fishbus
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sat Sep 28, 2024 8:20 pm
Contact:

[SOLVED] How to achieve base_productivity in 2.0?

Post by Fishbus »

base_productivity was a lovely way to throw in some extra +productivity to any mining/assembler.

I've used some instances in my mod but it no longer works.

Is there a way around this or implement it through some other method?

Cheers!
Last edited by Fishbus on Tue Dec 10, 2024 9:24 pm, edited 2 times in total.
User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 565
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: How to achieve base_productivity in 2.0?

Post by Silari »

Looks like it's via effect_receiver now in the CrafingMachinePrototype and MiningDrillPrototype, see the biochamber data

Code: Select all

effect_receiver = {
	base_effect = {
		productivity = 0.5
	}
}
User avatar
Fishbus
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sat Sep 28, 2024 8:20 pm
Contact:

Re: [FIXED] How to achieve base_productivity in 2.0?

Post by Fishbus »

Ah, that's where it's hiding!

My brain had effect_receiver with beacon effects - as in, 'can this building receive effects from beacons'. My mistake.

Thank you!
Post Reply

Return to “Modding help”