[MOD 0.12.X] GDIW - Gah!DarnItWater!

These mods are not game-changing, but enhance the gameplay by helping you with useful functions.
Mods like showing the current game-time, keep track over your resources, rail-laying...

[MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby DaCyclops » Sat Aug 29, 2015 2:54 am

Type: Mod
Name: GDIW
Description: Gah!DarnItWater! For those who keep getting annoyed at water inputs....
License: The MIT License

For future versions, you can find this on the Mod Portal
https://mods.factorio.com/mods/DaCyclops/GDIW

Version: 1.1.2
Release: 2016-03-26
Tested-With-Factorio-Version: 0.12.20
Category: Small Tweak
Tags: chemical plant, oil refinery
Download-Url: https://github.com/DaCyclops/GDIW/releases/latest
Website: https://github.com/DaCyclops/GDIW

License
License
The MIT License (MIT)

Copyright (c) 2015 Alan 'DaCyclops' Brown

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


Long description
Long description
A simple mod which adds alternative recipes for the Oil Refinery and Chemical Plant recipes that want certain liquids on certain inputs.
Image


This mod was created in anger after being sure I put my Oil Refineries in the right location for Advanced Oil Processing.... And then being wrong...
Image


It also allows for some more interesting/compact builds since Chemical Plants can be placed in a tight row


Pictures
Pictures
A couple of examples possible because of this mod
Image . Image


Version history
Version history
Version 1.1.2 (2016-03-26): Bobs Mods Crude processing, and new Icons.
Version 1.1.1 (2016-01-25): Added Productivity Module support for recipes. Again.
Version 1.1.0 (2015-12-5): Reversed output recipes
Version 1.0.2 (2015-10-21): Factorio 0.12.11 migration
Version 1.0.1 (2015-09-02): Added Productivity Module support for recipes
Version 1.0.0 (2015-08-29): First Release Version


Modpacks
Modpacks
Go ahead. I would be happy for people to use this.


Special Thanks
  • GotLag, for the new icons that look not-so-team-rocket'y
  • Rockstar04, for Bobs Mod processing
Last edited by DaCyclops on Thu Jul 14, 2016 6:39 pm, edited 10 times in total.
User avatar
DaCyclops
Long Handed Inserter
Long Handed Inserter
 
Posts: 78
Joined: Mon Aug 25, 2014 12:37 am

Re: [MOD 0.12.X] GDIW - GodDamnItWater

Postby reddutton » Sat Aug 29, 2015 1:48 pm

this has been one of my enemies in oil processing as well as the outputs on the refiner definatly going in the mods for the new world i am making

thanks
thy may be stupid but thy am smart (reddutton 2006 seconlife)
reddutton
Long Handed Inserter
Long Handed Inserter
 
Posts: 50
Joined: Sun Jul 19, 2015 12:35 am

Re: [MOD 0.12.X] GDIW - GodDamnItWater

Postby bigyihsuan » Sat Aug 29, 2015 3:13 pm

Image

All of my yes! I always hate it when I have to switch my pipes for my refineries!
User avatar
bigyihsuan
Filter Inserter
Filter Inserter
 
Posts: 276
Joined: Thu Jan 01, 2015 12:57 pm

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby Ranakastrasz » Tue Sep 01, 2015 1:38 pm

Very, very good mod. Absolutely mandatory.
However, none of the recipes are Productivity module compatible.
User avatar
Ranakastrasz
Filter Inserter
Filter Inserter
 
Posts: 999
Joined: Thu Jun 12, 2014 3:05 am

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby DaCyclops » Tue Sep 01, 2015 7:45 pm

Ranakastrasz wrote:Very, very good mod. Absolutely mandatory.
However, none of the recipes are Productivity module compatible.

Huh... i quite literally copied the original prototype definitions, so I thought it should just work the same. I guess Productivity Modules have their own whitelist... I will have a look at this.

EDIT: Yep, found it. Latest Release updated.

I cant be sure if this would work with modded Productivity Modules. It likely depends if it uses the name "productivity-module". If you find a case of modded modules not working, post and I can investigate.
User avatar
DaCyclops
Long Handed Inserter
Long Handed Inserter
 
Posts: 78
Joined: Mon Aug 25, 2014 12:37 am

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby SirRichie » Tue Oct 20, 2015 7:53 pm

Hi,

it's been a while since 12.11 is out, so I took the liberty to update the mod for compatibility.
It is largely untested though (I could load and create a game though).
I take no credit, I just adjusted a few lines to follow the new modding API.

GDIW_1.0.2.zip
(452.14 KiB) Downloaded 208 times
SirRichie
Fast Inserter
Fast Inserter
 
Posts: 244
Joined: Wed Feb 25, 2015 4:50 pm

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby DaCyclops » Tue Oct 20, 2015 11:04 pm

SirRichie wrote:Hi,

it's been a while since 12.11 is out, so I took the liberty to update the mod for compatibility.
It is largely untested though (I could load and create a game though).
I take no credit, I just adjusted a few lines to follow the new modding API.


thanks for that. Ive been quite busy with some work stuff, so I haven't had time to sit down and actually update my mods correctly. Best Ive managed is code on Github, but its untested. EDIT: Aaaaand offically Updated AND Tested.
User avatar
DaCyclops
Long Handed Inserter
Long Handed Inserter
 
Posts: 78
Joined: Mon Aug 25, 2014 12:37 am

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby Nudibranch » Wed Oct 21, 2015 5:05 pm

Thank you!
Nudibranch
Burner Inserter
Burner Inserter
 
Posts: 11
Joined: Sat Sep 12, 2015 4:10 am

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby bbgun06 » Mon Nov 16, 2015 1:23 am

Awesome! Do you think you can revise the recipes so the outputs are reversed also?
bbgun06
Inserter
Inserter
 
Posts: 35
Joined: Fri Mar 27, 2015 4:09 pm

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby DaCyclops » Tue Nov 17, 2015 6:27 am

Hmm... I never considered reversed fluid outputs. That being said, in the same way cracking opened new layouts, I could see some better layouts for oil processing with GDIW....

It would only be on the Oil Refinery, and would raise the number of icon variations required. Basic Reversed-Output, Advanced Reverse-Input, Advanced Reverse-Output, Advanced Reverse-Both...

I will consider this change. I will get back to you...
User avatar
DaCyclops
Long Handed Inserter
Long Handed Inserter
 
Posts: 78
Joined: Mon Aug 25, 2014 12:37 am

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby DaCyclops » Sat Dec 05, 2015 10:19 am

So, Today is my birthday, and I just decided "sure, lets just code those reversed outputs".

Latest release is updated to version 1.1.0 with reversed outputs. Happy Birthday! Get it now!



NOTE: This was also the first chance for me to see the new technology icons. Ohgod they are soooooo nice now!
User avatar
DaCyclops
Long Handed Inserter
Long Handed Inserter
 
Posts: 78
Joined: Mon Aug 25, 2014 12:37 am

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby SirRichie » Sat Dec 05, 2015 10:47 am

Happy Birthday and thanks for the update!
SirRichie
Fast Inserter
Fast Inserter
 
Posts: 244
Joined: Wed Feb 25, 2015 4:50 pm

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby DaCyclops » Mon Jan 25, 2016 4:28 am

Did you know its possible to make the exact same mistake at the exact same place in the exact same situation?

Thank you very much to Rockstar04 for pointing out my ability to not learn from my mistakes. Productivity Modules would not function for my version 1.1.0 Reversed Output recipes. Because I forgot about the Module Whitelist. Again.
( also, I will admit, I got a little giddy over the idea I had a pull request :D )

So yeah, here is GDIW version 1.1.1 which adds Productivity Module support... again...
User avatar
DaCyclops
Long Handed Inserter
Long Handed Inserter
 
Posts: 78
Joined: Mon Aug 25, 2014 12:37 am

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby Rockstar04 » Mon Jan 25, 2016 2:08 pm

DaCyclops wrote:( also, I will admit, I got a little giddy over the idea I had a pull request :D )


No problem, I noticed that prod modules wouldn't go in some of my refineries, and when I saw the code was on Github (I'm a web developer by trade so I spend a ton of my work week on Github) I was way easier than posting on the forums for me. :)
Rockstar04
Fast Inserter
Fast Inserter
 
Posts: 146
Joined: Sun Feb 17, 2013 4:31 pm

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby neo_en » Sat Feb 13, 2016 10:09 pm

Nice mod! :D
neo_en
Burner Inserter
Burner Inserter
 
Posts: 6
Joined: Sat Jun 20, 2015 2:43 pm

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby GotLag » Thu Mar 17, 2016 1:24 pm

DaCyclops wrote:
  • show indicators on the icons
  • consider ways of having Sulfur/Flamethrower ammo show alternative icons.

Code: Select all
data.raw["recipe"]["sulfur"].icon = "__GDIW__/graphics/icons/sulfur.png"
data.raw["recipe"]["flame-thrower-ammo"].icon = "__GDIW__/graphics/icons/flame-thrower-ammo.png"


I've made some alternate icons, feel free to use them.
GotLag
Filter Inserter
Filter Inserter
 
Posts: 365
Joined: Sat May 03, 2014 3:32 pm

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby DaCyclops » Sat Mar 26, 2016 2:32 am

GotLag wrote:
DaCyclops wrote:
  • show indicators on the icons
  • consider ways of having Sulfur/Flamethrower ammo show alternative icons.

Code: Select all
data.raw["recipe"]["sulfur"].icon = "__GDIW__/graphics/icons/sulfur.png"
data.raw["recipe"]["flame-thrower-ammo"].icon = "__GDIW__/graphics/icons/flame-thrower-ammo.png"


I've made some alternate icons, feel free to use them.

The problem with Sulfur/Flamethrower is it shows the Item icon, not the Recipe icon. Which means I cant show an alternative icon for each recipe. Might report as feature request, since its inconsistent.
EDIT: Oh hey, the Sulfur/Flamethrower behavior is only because it doesn't DEFINE an icon, so it falls back to item icon. *facepalm* Thanks for the code, definitely using it...
Thanks for the alternative icons. I may make use of them in the next release. They look a bit better than my big ugly red R's...

I also have a pull request outstanding that would add in Bobs Mod Crude Oil processing. Gonna get that merged, and get an update with new icons done.



Version 1.1.2 out, with fresh icons thanks to GotLag, and Bobs Mods Crude Oil processing thanks to Rockstar04.
User avatar
DaCyclops
Long Handed Inserter
Long Handed Inserter
 
Posts: 78
Joined: Mon Aug 25, 2014 12:37 am

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby SkyFyre42 » Tue Mar 29, 2016 4:46 pm

I love when I go looking for mods, and the very thing I needed was just added a within a week XD
Namely bob's mods support! So much win. Downloaded! :D
User avatar
SkyFyre42
Burner Inserter
Burner Inserter
 
Posts: 14
Joined: Tue Mar 29, 2016 4:43 pm
Location: Code Wizard

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby bNarFProfCrazy » Sat Apr 23, 2016 10:39 am

Created a German translation:
https://github.com/DaCyclops/GDIW/pull/3

Thanks for your work.
bNarFProfCrazy
Fast Inserter
Fast Inserter
 
Posts: 115
Joined: Sat Apr 23, 2016 7:11 am

Re: [MOD 0.12.X] GDIW - Gah!DarnItWater!

Postby Puke » Thu Jul 14, 2016 3:27 pm

Hey ! Will you update this wonderful thing to 0.13 ?
Puke
Manual Inserter
Manual Inserter
 
Posts: 2
Joined: Mon Jun 13, 2016 7:00 pm

Next

Return to Helper mods

Who is online

Users browsing this forum: No registered users and 6 guests