logalog42 / minegistics

a minetest game for minetest game jam
GNU General Public License v3.0
8 stars 5 forks source link

Refactor, restore previous pull requests, improved markets & towns. #16

Closed Droog71 closed 2 years ago

Droog71 commented 2 years ago

So, I messed up my previous pull requests resulting in one pull request deleting the changes from another. This pull request restores all of those changes; ie: the trains delivering lumber, the tree meshes, etc.

I also changed the way towns work because the previous method confused me while playing the game. Previously trains would not deliver to markets that did not have a town. They would just continue to carry more and more items, but trains don't have a GUI so it seems like the items are disappearing. Now, the trains will deliver to the market but the items will not be sold unless the market has a town.

The original purpose of this branch was that I was recently informed the ContentDB maintainers would like all mods to have a prefix for the game they're associated with such as "minegistics_basenodes" instead of "basenodes". So, I refactored the code to comply with this.

logalog42 commented 2 years ago

Not a problem I got those changed and uploaded to a new release. minetestdb should show them in a day or so.