Search found 7 matches
- Tue Nov 10, 2020 8:01 am
- Forum: Modding help
- Topic: How to define a specific fuel type for furnaces.
- Replies: 11
- Views: 4082
Re: How to define a specific fuel type for furnaces.
data.raw["locomotive"]["locomotive"].burner.fuel_category = "chemical","rocket"
You need to use fuel_categories if you want more than one fuel. Also you need to delete fuel_category.
data.raw["locomotive"]["locomotive"].burner.fuel_category = nil
data.raw["locomotive"]["locomotive"].burner ...
- Mon Nov 09, 2020 9:34 pm
- Forum: Modding help
- Topic: How to define a specific fuel type for furnaces.
- Replies: 11
- Views: 4082
Re: How to define a specific fuel type for furnaces.
Ok so... Gosh this is something. Im getting somewhere. I moved the declaracion of fuel categories to data-final-fixes.lua.
the code there:
data.raw["locomotive"]["locomotive"].burner.fuel_category = "chemical","rocket"
data.raw["furnace"]["stone-furnace"].energy_source.fuel_category = "chemical ...
the code there:
data.raw["locomotive"]["locomotive"].burner.fuel_category = "chemical","rocket"
data.raw["furnace"]["stone-furnace"].energy_source.fuel_category = "chemical ...
- Sat Oct 24, 2020 12:42 pm
- Forum: Modding help
- Topic: How to define a specific fuel type for furnaces.
- Replies: 11
- Views: 4082
Re: How to define a specific fuel type for furnaces.
Im trying to do a furnace that accepts only rocket fuel, but I cant wrap my head around how to define the fuel-category. I just need help with this, becouse Im really new to this and I dont really know if you can define specific fuel types.
Fuel items can only have one category. In vanilla ...
- Sat Oct 24, 2020 11:19 am
- Forum: Modding help
- Topic: How to define a specific fuel type for furnaces.
- Replies: 11
- Views: 4082
Re: How to define a specific fuel type for furnaces.
When I do this for a nuclear type furnace.
I've made this nuclear furnace, see https://mods.factorio.com/mod/NuclearFurnace
Nothing is hardcoded.
If your item has fuel type "nuclear", then it can be used in assemblers/furnaces/etc. with the same fuel type only .
Now I forgot to say that ...
- Thu Oct 22, 2020 9:39 am
- Forum: Modding help
- Topic: How to define a specific fuel type for furnaces.
- Replies: 11
- Views: 4082
Re: How to define a specific fuel type for furnaces.
Im trying to do a furnace that accepts only rocket fuel, but I cant wrap my head around how to define the fuel-category. I just need help with this, becouse Im really new to this and I dont really know if you can define specific fuel types.
data:extend({{type = "fuel-category", name ...
- Mon Oct 05, 2020 7:11 pm
- Forum: Modding help
- Topic: How to define a specific fuel type for furnaces.
- Replies: 11
- Views: 4082
Re: How to define a specific fuel type for furnaces.
Thank you so much!
Edit: Sry for late response.
Edit: Sry for late response.
- Sun Sep 27, 2020 9:11 am
- Forum: Modding help
- Topic: How to define a specific fuel type for furnaces.
- Replies: 11
- Views: 4082
How to define a specific fuel type for furnaces.
Im trying to do a furnace that accepts only rocket fuel, but I cant wrap my head around how to define the fuel-category. I just need help with this, becouse Im really new to this and I dont really know if you can define specific fuel types.