Hi every one!
I am sure that namely tiny mods are changing our life deeper than monster ones. An there is no need to knock down the player with dozens of new tehcnologies and hundreds of 80th level furnances.
There is one small small fraud entity with biggest cheating effect in game... offshore pump.
How many pumps do you have, dosen? two dozen? Just imagine how many hours it operates in game. How many solid fuel stored on belts without proper use. And how many undiscovered coal patcheis lies under biter despoty?
So the mod I've been dreaming for all that time is to have offshore pump which eats some fuel and still needs to be placed off-shore.
The trap is that those two definitions are incompactible. I spent many hours to push the offshore-pump entity to eat some coal. Or Watt of electricity. It works If use Pumpjack or Miner prototypes, but then I loose offshore positioning check.
I tried to use insertion of other entityies like it made in some mods (like Miner Inserter or AAi tech), but also failed.
Now I recognised thai I am a player, not a coder. And I am begging you to bring me a peace.
The idea is to have non breacking of vanilla balance but more pragmatic offshore pump in few modiffication - burner (new, slow), electric (like it now but with logic connectors) and advanced electric (new) with modules slots.
Could some one do it? For me? For all of us? Pleeeese
The best ever tiny mod [request]
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: The best ever tiny mod [request]
You can listen to the on_build_* event for the offshore pump and simply replace it with a fixed_recipe assembling machine using surface.create_entity. Assembling machines support burner/electricity just fine. (No, i'm not gonna write that mod for you :p.)
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: The best ever tiny mod [request]
Could you please link the mod where it implemented?
Re: The best ever tiny mod [request]
First: Making new prototypes, it must be new assembling machine, but with size of offshore pump, fixed recipe and burner as energy_source. Not tested, but it looks like:
data.lua:
You are need also new recipe "make-water" and new recipe crafting category "fluids-making".
data.lua:
Code: Select all
-- entity --
local pump = data.raw["offshore-pump"]["offshore-pump"]
local entity = table.deepcopy (data.raw["assembling-machine"]["assembling-machine-1"])
entity.name = "am-offshore pump" -- assembling-machine-offshore-pump
entity.icon = pump.icon
entity.fast_replaceable_group = nil
entity.minable = pump.minable
entity.collision_box = pump.collision_box
entity.selection_box = pump.selection_box
entity.crafting_categories = {"fluids-making"}
entity.fixed_recipe = "make-water" -- i hope that it works
entity.fluid_box = pump.fluid_box
entity.animation = pump.picture -- I hope that it works
entity.energy_source = table.deepcopy(data.raw.furnace["stone-furnace"].energy_source)
- AmatorPhasma
- Fast Inserter
- Posts: 126
- Joined: Sat Aug 05, 2017 8:20 pm
- Contact:
Re: The best ever tiny mod [request]
OH THANKS darkfreidarkfrei wrote: ↑Sun Sep 02, 2018 10:46 am First: Making new prototypes, it must be new assembling machine, but with size of offshore pump, fixed recipe and burner as energy_source. Not tested, but it looks like:
data.lua:You are need also new recipe "make-water" and new recipe crafting category "fluids-making".Code: Select all
-- entity -- local pump = data.raw["offshore-pump"]["offshore-pump"] local entity = table.deepcopy (data.raw["assembling-machine"]["assembling-machine-1"]) entity.name = "am-offshore pump" -- assembling-machine-offshore-pump entity.icon = pump.icon entity.fast_replaceable_group = nil entity.minable = pump.minable entity.collision_box = pump.collision_box entity.selection_box = pump.selection_box entity.crafting_categories = {"fluids-making"} entity.fixed_recipe = "make-water" -- i hope that it works entity.fluid_box = pump.fluid_box entity.animation = pump.picture -- I hope that it works entity.energy_source = table.deepcopy(data.raw.furnace["stone-furnace"].energy_source)
I was thinking of a a way to make a burner and steam powered offshore-pump for my coal&steam mod...
I had no idea how to do that a easy way until I found your post here!
Re: The best ever tiny mod [request]
The idea of burner/electric offshore pump was here
https://mods.factorio.com/mod/GoodBurne ... 000bbda02e
https://mods.factorio.com/mod/GoodBurne ... 000bbda02e
Re: The best ever tiny mod [request]
Re: The best ever tiny mod [request]
You are my hero dude!!darkfrei wrote: ↑Wed May 01, 2019 11:01 am
Please try this mod:
https://mods.factorio.com/mod/BurnerOffshorePump