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).
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.
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.