From 2c83cdc807e3a65b0231d6eaed274432b399e4f4 Mon Sep 17 00:00:00 2001 From: Johannes Fritz Date: Wed, 10 Aug 2022 12:30:21 -0500 Subject: [PATCH] Add support for new automobiles painter --- entities.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/entities.lua b/entities.lua index 830d377..f3e4894 100755 --- a/entities.lua +++ b/entities.lua @@ -188,6 +188,10 @@ minetest.register_entity("pa28:pa28", { _inv = nil, _inv_id = "", + _change_color = function(self, colstr) + airutils.paint(self, colstr, "pa28_painting.png") + end, + get_staticdata = function(self) -- unloaded/unloads ... is now saved return minetest.serialize({ --stored_sound_handle = self.sound_handle,