[Mod] Basic Materials [git][basic_materials]

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

[Mod] Basic Materials [git][basic_materials]

by VanessaE » Post

Basic Materials

Image

This mod provides a small selection of "basic" materials and items that other mods should use when possible -- things like steel bars and chains, wire, plastic strips and sheets, and more.

The whole idea here is to eliminate duplication from mod to mod, and reduce recipe conflicts.

Most of the items in this mod came from Home Decor, Pipeworks, Technic, and Gloopblocks, some of which are intended as direct replacements for similar items, along with a few new bits and bobs that I hope modders will find useful.

Basically-speaking, if two or more mods provide some equivalent item, and it's something basic that other mods could make use of, and it's something that could have otherwise made a good addition to minetest_game such that everyone should have that item, then those duplicate items and their recipes should be removed from their respective mods, a single such item and recipe added to this mod instead, and those mods made to depend on this one.

All item names begin with basic_materials:, and all of them have aliases back to their original names, where applicable.

In order shown in the image above, they are:
  • brass_block, brass_ingot, cement_block, chain_brass, chain_steel, chainlink_brass, chainlink_steel, concrete_block
  • copper_strip, copper_wire, empty_spool, energy_crystal_simple, gear_steel, gold_wire, heating_element, ic
  • motor, oil_extract, padlock, paraffin, plastic_sheet, plastic_strip, silicon, silver_wire
  • steel_bar, steel_strip, steel_wire, terracotta_base, wet_cement
Download: https://github.com/mt-mods/basic_materi ... master.zip
...or browse the code: https://github.com/mt-mods/basic_materials

Dependencies: Minetest 0.4.17 or later and a corresponding copy of minetest_game (well default therefrom anyway).

Recommends: Moreores.

License: LGPL 3.0 for code, CC-by-SA 4.0 for media and everything else.
Attachments
Screenshot_2018-11-07_19-06-44.png
Screenshot_2018-11-07_19-06-44.png (26.7 KiB) Viewed 5071 times
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
TenPlus1
Member
Posts: 3715
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Re: [Mod] Basic Materials [git][basic_materials]

by TenPlus1 » Post

A nice idea, could you list what items will be included in this mod to save us from code hunting plz :P

User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: [Mod] Basic Materials [git][basic_materials]

by Pyrollo » Post

Great to have plastic and oïl apart from other mods :) They have so many uses !

Thanks a lot !
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

Re: [Mod] Basic Materials [git][basic_materials]

by VanessaE » Post

Tenplus1: They're all in the screenshot :-) but I've put a list in the first post, now.

I'm sure there'll be more to come, in time.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

Brian Gaucher
Member
Posts: 77
Joined: Wed Jan 10, 2018 01:56
GitHub: BrianGaucher
In-game: Camasia

Re: [Mod] Basic Materials [git][basic_materials]

by Brian Gaucher » Post

VanessaE wrote:
  • ..., plastic_strip, ?????,silver_wire, steel_bar
I noticed this small mistake in your list. It should probably be added.
Last edited by Brian Gaucher on Wed Oct 31, 2018 23:44, edited 1 time in total.
Current projects: Making a CTF map, Learning C++, Learning Programmer's Dvorak

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

Re: [Mod] Basic Materials [git][basic_materials]

by VanessaE » Post

oops, fixed.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

Brian Gaucher
Member
Posts: 77
Joined: Wed Jan 10, 2018 01:56
GitHub: BrianGaucher
In-game: Camasia

Re: [Mod] Basic Materials [git][basic_materials]

by Brian Gaucher » Post

Just wondering, how useful would "fibre" from mesecons could make a useful item in many mods?
Current projects: Making a CTF map, Learning C++, Learning Programmer's Dvorak

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

Re: [Mod] Basic Materials [git][basic_materials]

by VanessaE » Post

I could see some kind of "generic insulation" being useful, actually, but while it could work for technic, it won't replace the one in mesecons, because Jeija doesn't like dependencies. :-/
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Basic Materials [git][basic_materials]

by Andrey01 » Post

On your servers, VanessaE, many mods seem to be broken. At least it touched to VE-Building (some elements of Home Decor, Streets are absenting). Does it anyhow relate to your new mod?

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

Re: [Mod] Basic Materials [git][basic_materials]

by VanessaE » Post

Fixed. Just forgot to include moreores in those servers' setups after I'd added it to basic_materials' depends.txt.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

Re: [Mod] Basic Materials [git][basic_materials]

by VanessaE » Post

Added a concrete block, changed the cement recipe and made concrete use it.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
BuckarooBanzay
Member
Posts: 435
Joined: Tue Apr 24, 2018 05:58
GitHub: BuckarooBanzay
IRC: BuckarooBanzai
In-game: BuckarooBanzai

Re: [Mod] Basic Materials [git][basic_materials]

by BuckarooBanzay » Post

How does your upgrade-plan look like?
Can we just pull all your other mods (pipeworks, homedecor, etc) to the latest stable and it should work?
¯\_(ツ)_/¯ Not active here anymore, contact me on the minetest discord, irc, lemmy or github (for programming issues)

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

Re: [Mod] Basic Materials [git][basic_materials]

by VanessaE » Post

Yep, just so.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
BuckarooBanzay
Member
Posts: 435
Joined: Tue Apr 24, 2018 05:58
GitHub: BuckarooBanzay
IRC: BuckarooBanzai
In-game: BuckarooBanzai

Re: [Mod] Basic Materials [git][basic_materials]

by BuckarooBanzay » Post

VanessaE wrote:Yep, just so.
Nice to hear, good job in keeping backward-compatibility for your mods :)
¯\_(ツ)_/¯ Not active here anymore, contact me on the minetest discord, irc, lemmy or github (for programming issues)

User avatar
Fixer
Member
Posts: 904
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: [Mod] Basic Materials [git][basic_materials]

by Fixer » Post

Eh, this gives me cringe, for some reason. What if someone does not want to use your gears to avoid hard deps on package they don't control? At least in mc modded they use ore dictionary and gears are compatible...

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

Re: [Mod] Basic Materials [git][basic_materials]

by VanessaE » Post

Well, this isn't MC and I have no idea what this ore dictionary is. If some modder doesn't want to get gears from this mod, they're perfectly free to make their own.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
SpaghettiToastBook
Member
Posts: 52
Joined: Sun Feb 22, 2015 21:11
In-game: STB
Location: The Milky Way

Re: [Mod] Basic Materials [git][basic_materials]

by SpaghettiToastBook » Post

Perhaps the silicon here should aliased to mesecons's silicon, or vice versa, if both are present.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Basic Materials [git][basic_materials]

by runs » Post

Vanessa, could you add the Spanish Translation from mine?

Code: Select all

# textdomain: basic_materials
Silicon lump=Briqueta de silicona
Simple Integrated Circuit=Circuito integrado simple
Simple Motor=Motor sencillo
Heating element=Elemento calefactor
Simple energy crystal=Cristal de energía sencillo
Spool of steel wire=Bobina de acero
Spool of copper wire=Bobina de cobre
Spool of silver wire=Bobina de plata
Spool of gold wire=Bobina de oro
Steel Strip=Tira de acero
Copper Strip=Tira de cobre
Steel Bar=Barra de acero
Chainlinks (brass)=Eslabones de latón
Chainlinks (steel)=Eslabones de acero
Brass Ingot=Lingote de latón
Steel gear=Engranaje de acero
Padlock=Candado
Chain (steel, hanging)=Cadena de acero colgante
Chain (brass, hanging)=Cadena de latón colgante
Brass Block=Bloque de latón
Oil extract=Extracto de aceite
Unprocessed paraffin=Parafina sin procesar
Uncooked Terracotta Base=Base de terracota sin cocer
Wet Cement=Cemento húmedo
Cement=Cemento
Concrete Block=Bloque de hormigón
Plastic sheet=Lámina de plástico
Plastic strips=Tira de plástico
Empty wire spool=Bobina vacía
Last edited by runs on Sat Feb 29, 2020 03:48, edited 1 time in total.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Basic Materials [git][basic_materials]

by runs » Post

A set of 32x32 icons I've made:

Image

License: GPLv3
Attachments
textures_basic_materials_32x32.zip
(54.9 KiB) Downloaded 146 times

User avatar
sirrobzeroone
Member
Posts: 593
Joined: Mon Jul 16, 2018 07:56
GitHub: sirrobzeroone
Contact:

Re: [Mod] Basic Materials [git][basic_materials]

by sirrobzeroone » Post

For my own purposes I needed to create some new icons for basic materials. I decided to go the whole way and create a set of 32x32px inv icons.

I haven't included block/node textures or the ingot texture (so it still fits with default/moreores)

Free to use these for whatever you like as they are released as CC0 - Public Domain and the git includes the working gimp files which for some - eg chains, wire spools, strips you can easily overlay a new color on the base white/grey version to make new colored ones.

Preview Image
Image

Link here if you want them
https://github.com/sirrobzeroone/basic_ ... e_textures

User avatar
Linuxdirk
Member
Posts: 3217
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Basic Materials [git][basic_materials]

by Linuxdirk » Post

sirrobzeroone wrote:
Mon Aug 02, 2021 11:45
Image
Wow, those Icons fit so well into vanilla Minetest textures. I wish Minetest would allow multiple "layering" texture packs so there would be an easy way to use those textures.

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

Re: [Mod] Basic Materials [git][basic_materials]

by VanessaE » Post

I do like those textures, though they're not in the sort of style I normally try for.
I wish Minetest would allow multiple "layering" texture packs so there would be an easy way to use those textures.
I think it kinda can, but at the mod level rather than with a texture pack. If I recall right, if mod B depends on mod A and both supply a particular texture file with the same filename, then mod B's texture will be used, since it will have been loaded second.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
Linuxdirk
Member
Posts: 3217
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Basic Materials [git][basic_materials]

by Linuxdirk » Post

VanessaE wrote:
Mon Aug 02, 2021 22:41
If I recall right, if mod B depends on mod A and both supply a particular texture file with the same filename, then mod B's texture will be used, since it will have been loaded second.
I remember the same thing but never really checked that out. I just wish MT had proper texture pack management instead of just slapping all files in one directory and select what directory to use.

But this idea was officially rejected by multiple core devs.

User avatar
sirrobzeroone
Member
Posts: 593
Joined: Mon Jul 16, 2018 07:56
GitHub: sirrobzeroone
Contact:

Re: [Mod] Basic Materials [git][basic_materials]

by sirrobzeroone » Post

Thanks both :),

Yes I was trying to make them gel in with the "default" icons/nodes. Thanks Vanessa for the tip on textures thats really good to know.

User avatar
Linuxdirk
Member
Posts: 3217
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Basic Materials [git][basic_materials]

by Linuxdirk » Post

The main (or only real) problem with this is, that it only works in single player (or for an own server) and not on random servers.

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests