Merge pull request #3 from MrRar/main

Add support for new automobiles painter
master
Alexsandro Percy 2022-08-13 16:59:33 -03:00 committed by GitHub
commit 9d38a800c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -114,6 +114,10 @@ minetest.register_entity("ju52:ju52", {
_door_closed = true,
_door_command = 1, --1 close, 0 open
_change_color = function(self, colstr)
airutils.paint(self, colstr, ju52.skin_texture)
end,
get_staticdata = function(self) -- unloaded/unloads ... is now saved
return minetest.serialize({
stored_energy = self._energy,