minetest-mods / moreores

More Ores
https://content.minetest.net/packages/Calinou/moreores/
zlib License
26 stars 30 forks source link

Drop tin #20

Closed mgl512 closed 7 years ago

mgl512 commented 7 years ago

It's in minetest_game now.

This commits removes references to moreores tin in the code and its textures files. Users who had moreores tin in their game are left to write the proper aliases themselves.

Thomas--S commented 7 years ago

I think that #18 will be slightly more convenient for the users.

mgl512 commented 7 years ago

I think that #18 will be slightly more convenient for the users.

I agree. It's even very convenient. But I think this one is better for moreores itself.

Gold used to be in moreores too but you can't see any trace of it in the mod now. The code would look messy if there was some lines dedicated to the transition from moreores gold to default gold. It's the same for tin. A way to avoid transition code that you will have to remove is to never write it. That's why I submitted this PR.

Thomas--S commented 7 years ago

IMHO, I think we should have this backwards compatibility code for about two minetest releases, then it can be safely removed.

mgl512 commented 7 years ago

Old servers will want to keep the aliases forever I think, not "for about two minetest releases". It only delays the time when they will have to write them in a custom mod.

Desour commented 7 years ago

If minetest_game takes more and more of the ores that are/were in moreores, this mod will end in alias code only.

Calinou commented 7 years ago

This one is likely to cause problems for players on stable versions, as tin was added to minetest_game after the 0.4.15 release. This will be especially problematic if these players use other mods that depend on More Ores' tin, such as Technic.

I think I'm more in favor of https://github.com/minetest-mods/moreores/pull/18.

Calinou commented 7 years ago

Deprecated in favor of https://github.com/minetest-mods/moreores/pull/18, which was merged.