mirror of
https://github.com/APercy/airutils.git
synced 2025-07-18 20:26:47 -04:00
added support for signs_lib
This commit is contained in:
parent
62541f0b89
commit
c1d1173809
7 changed files with 269 additions and 3 deletions
|
@ -680,6 +680,12 @@ local function _paint(self, l_textures, colstr, paint_list, mask_associations)
|
|||
l_textures[_] = "("..l_textures[_]..")^("..texture_name.."^[mask:"..mask_texture..")" --add the mask
|
||||
end
|
||||
end
|
||||
if airutils._use_signs_api then
|
||||
indx = texture:find('airutils_name_canvas.png')
|
||||
if indx then
|
||||
l_textures[_] = "airutils_name_canvas.png^"..airutils.convert_text_to_texture(self._ship_name, self._name_color or 0, self._name_hor_aligment or 0.8)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
return l_textures
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue