This commit is contained in:
Andrey Stepanov 2025-04-26 22:45:22 +05:00
parent f7d98e2cad
commit f045b72c46
No known key found for this signature in database
GPG key ID: 53DE683337F5D25F

10
hud.lua
View file

@ -122,16 +122,6 @@ function ap_airship.update_hud(self, coal, water, pressure, power_lever)
else else
ids = {} ids = {}
ids["title"] = player:hud_add({
hud_elem_type = "text",
position = {x = 0, y = 1},
offset = {x = screen_pos_x + 240, y = screen_pos_y - 100},
text = "Airship engine state",
alignment = 0,
scale = { x = 100, y = 30},
number = 0xFFFFFF,
})
ids["bg"] = player:hud_add({ ids["bg"] = player:hud_add({
hud_elem_type = "image", hud_elem_type = "image",
position = {x = 0, y = 1}, position = {x = 0, y = 1},