logalog42 / minegistics

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

Fix for issues #17, #18, #19 and #21 #23

Closed Droog71 closed 2 years ago

Droog71 commented 2 years ago

This PR fixes the welcome message being shown every time the game starts and markets being able to sell items without a connected town.

I also added a hud element that shows your current balance (money) which can be enabled or disabled via a checkbox in the inventory GUI.

I also removed the item attachment code for trains and replaced it with a visual representation of full or empty trains using a second mesh in which the train is full of metal crates (https://i.imgur.com/5iXI1vO.mp4).

The item attachment method doesn't work well due to this bug with Minetest (https://github.com/minetest/minetest/issues/4759).

Also fixed deprecated function warnings for skybox mod, texture warnings for rail nodes and made the power and shop formspecs update in real time when something changes while they are open.