[Mod] Pig Iron [pigiron]

User avatar
TenPlus1
Member
Posts: 2720
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

[Mod] Pig Iron [pigiron]

by TenPlus1 » Post

This mod exists to add a little progression to the game so that steel isn't so easy to come by :)

Image

- Iron Ingots can be made by smelting Iron Ore in a furnace
- Charcoal can be made by cooking Tree's in a furnace
- 1x Iron Ingot and 3x Charcoal create a mix that is smelted into 1x Steel Ingot
- Iron Ingots can be made into blocks which can be used to make stairs
- Iron blocks and stairs can rust when near water, cook in furnace to remove rust
- A bucket of water surrounded by Iron Blocks returns 8x Rusted Iron Blocks
- Added Iron tools which is better than stone but worse than steel/bronze
- Switched Bronze and Steel tool strength since steel is stronger in real life

Dependencies: requires default and will use stairs, farming and lucky_block if enabled

Download: https://notabug.org/TenPlus1/pigiron/archive/master.zip

Code: https://notabug.org/TenPlus1/pigiron

Licence: MIT

Lucky Blocks: 8
Last edited by TenPlus1 on Wed Jul 25, 2018 08:34, edited 7 times in total.

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Pig Iron [pigiron]

by Stix » Post

Our hero! Are you planning on opening a pr on github for this? :D (but name it pot-iron instead of pig-iron or even just iron please).
Hey, what can i say? I'm the bad guy.

User avatar
TenPlus1
Member
Posts: 2720
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Pig Iron [pigiron]

by TenPlus1 » Post

It has been known as Pig Iron for some time so the name will stay: https://en.wikipedia.org/wiki/Pig_iron

It would be nice to have additional iron tools and override the steel one's to make them stronger than bronze, will work on that next.

User avatar
TumeniNodes
Member
Posts: 2853
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [Mod] Pig Iron [pigiron]

by TumeniNodes » Post

Very nice TenPlus1.
Downloaded, thank you
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Pig Iron [pigiron]

by Stix » Post

Actually when someone makes pig-iron they make a funnel shape (usually with sand) or a hole in the ground and smelt it in there. Seeing how smelting is done in a furnace and the use of charcoal i believe it would be more correct to assume the player is making wrought iron, which is sometimes called charcoal-iron.
Last edited by Stix on Tue Jul 24, 2018 16:27, edited 2 times in total.
Hey, what can i say? I'm the bad guy.

User avatar
cx384
Member
Posts: 498
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

Re: [Mod] Pig Iron [pigiron]

by cx384 » Post

TenPlus1 wrote:It has been known as Pig Iron for some time so the name will stay: https://en.wikipedia.org/wiki/Pig_iron
Alternatively you could call it "Crude Iron" (It is also mentioned at wikipedia.) but I am fine with pig iron.
TenPlus1 wrote: It would be nice to have additional iron tools and override the steel one's to make them stronger than bronze, will work on that next.
Historically, there should be copper tools, too.

Oh and can add Cast iron, but maybe this is too much.
+ Spoiler
Last edited by cx384 on Tue Jul 24, 2018 16:18, edited 1 time in total.
Can your read this?

User avatar
TenPlus1
Member
Posts: 2720
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Pig Iron [pigiron]

by TenPlus1 » Post

Copper seems like a soft metal, kinda like gold so I wouldnt imagine much use from tools made from it. Bronze on the other hand gives copper a good use and makes them into decent tools, although like I mentioned above steel needs to be stronger than bronze.

User avatar
cx384
Member
Posts: 498
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

Re: [Mod] Pig Iron [pigiron]

by cx384 » Post

TenPlus1 wrote:.. so I wouldnt imagine much use from tools made from it.
Yeah, but people in the past used such tools. Before they got access to tin.

Copper Age
Last edited by cx384 on Tue Jul 24, 2018 16:27, edited 1 time in total.
Can your read this?

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Pig Iron [pigiron]

by Stix » Post

It appears i forgot to mention something in my previous post, its fixed now so feel free to re-read :P.
Hey, what can i say? I'm the bad guy.

User avatar
TenPlus1
Member
Posts: 2720
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Pig Iron [pigiron]

by TenPlus1 » Post

Hrm, good point... I could change the description to read Wrought Iron although the mod has already been named :)

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Pig Iron [pigiron]

by Stix » Post

TenPlus1 wrote:Hrm, good point... I could change the description to read Wrought Iron although the mod has already been named :)
The description being changed is good enough for me =).
Hey, what can i say? I'm the bad guy.

User avatar
TenPlus1
Member
Posts: 2720
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Pig Iron [pigiron]

by TenPlus1 » Post

Welp, turns out none of the descriptions actually use Pig Iron so that was easy :)

User avatar
TenPlus1
Member
Posts: 2720
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Pig Iron [pigiron]

by TenPlus1 » Post

Updated to version 0.3:

- Add Iron Axe, Shovel, Sword and Hoe
- Added a few more lucky blocks

Chem871
Member
Posts: 947
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [Mod] Pig Iron [pigiron]

by Chem871 » Post

Should be default.
What is SCP-055 again? I forgot.

User avatar
Wuzzy
Member
Posts: 3930
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Pig Iron [pigiron]

by Wuzzy » Post

But … does it go “oink oink”?
My creations. I gladly accept bitcoins: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH

User avatar
Stix
Member
Posts: 1385
Joined: Fri Aug 04, 2017 14:19
IRC: nil
In-game: Stix [+alts]
Location: USA

Re: [Mod] Pig Iron [pigiron]

by Stix » Post

Wuzzy wrote:But … does it go “oink oink”?
Yeah.. and what if the mod detects mob_animals the recipe changes so that to create pig iron you have to combine pig-meat and an iron lump and then smelt it... and when your smelting it you hear pig screams <insert demonic laugh>...
Hey, what can i say? I'm the bad guy.

User avatar
texmex
Member
Posts: 1751
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Pig Iron [pigiron]

by texmex » Post

This is great as I’m removing mese and diamond tools from my game (too weird).
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
TenPlus1
Member
Posts: 2720
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Pig Iron [pigiron]

by TenPlus1 » Post

Updated to version 0.4:

- Switched Bronze and Steel tool capabilities since Steel is much stronger in real life.
- Code tidy and tweak

Chem871
Member
Posts: 947
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [Mod] Pig Iron [pigiron]

by Chem871 » Post

Should be an armor set to go along with the pig iron. (No pork, though)
What is SCP-055 again? I forgot.

User avatar
Sokomine
Member
Posts: 4014
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [Mod] Pig Iron [pigiron]

by Sokomine » Post

There's the trouble with default (and many other mods) requiring steel ingots for a lot of craft receipes that rely on steel not suddenly beeing over-expensive. Other than that the mod is a very fine idea. Perhaps combined with some other mods? Maikaumines sticks and stones server uses some very nice textures and intresting craft receipes for more expensive metalworks. RealTest also comes with a very intresting way and complex machinery to handle ores.
A list of my mods can be found here.

lilo
Member
Posts: 54
Joined: Sat May 27, 2017 14:45

Re: [Mod] Pig Iron [pigiron]

by lilo » Post

Hi,

when i use pigiron mod and moreblocks mod together, iron lumps will be burned in default steel ingots. Without moreblocks mod i get pigiron ingots. It will be great when you can fix this problem.

greets

User avatar
TenPlus1
Member
Posts: 2720
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Pig Iron [pigiron]

by TenPlus1 » Post

Are you sure it's moreblocks that's to blame ? We run pigiron and moreblocks on Xanadu and smelting iron into ingots works fine.

lilo
Member
Posts: 54
Joined: Sat May 27, 2017 14:45

Re: [Mod] Pig Iron [pigiron]

by lilo » Post

Hi,

yes i have an new map with last pigiron mod, moreblocks mod and unified inventory mod. When i burn iron lump i get an steel inngot.

greets

lilo
Member
Posts: 54
Joined: Sat May 27, 2017 14:45

Re: [Mod] Pig Iron [pigiron]

by lilo » Post

I've tried something around and it works if I insert blue line:

-- Override Iron Lump -> Steel Recipe
minetest.clear_craft({output = "default:steel_ingot"})
minetest.register_craft({
type = "cooking",
output = "pigiron:iron_ingot",
recipe = "default:iron_lump",
})

I'm not sure if that's right :)

User avatar
TenPlus1
Member
Posts: 2720
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Pig Iron [pigiron]

by TenPlus1 » Post

The clear_craft() will indeed remove the old recipe but in doing so it removes other needed recipes as well like steel blocks into 9x ingots, and steel stairs back into ingots.

I've added a clear_craft to remove the default:iron_lump cooking recipe though as this seems safer, git updated so please download latest and try.

Post Reply

Who is online

Users browsing this forum: ObsidianBlade12 and 5 guests