Add support for new automobiles painter
parent
e918dac4f6
commit
e38fc72313
|
@ -216,6 +216,10 @@ minetest.register_entity("hidroplane:hidro", {
|
||||||
_inv = nil,
|
_inv = nil,
|
||||||
_inv_id = "",
|
_inv_id = "",
|
||||||
|
|
||||||
|
_change_color = function(self, colstr)
|
||||||
|
airutils.paint(self, colstr, "hidroplane_painting.png")
|
||||||
|
end,
|
||||||
|
|
||||||
get_staticdata = function(self) -- unloaded/unloads ... is now saved
|
get_staticdata = function(self) -- unloaded/unloads ... is now saved
|
||||||
return minetest.serialize({
|
return minetest.serialize({
|
||||||
--stored_sound_handle = self.sound_handle,
|
--stored_sound_handle = self.sound_handle,
|
||||||
|
|
Loading…
Reference in New Issue