смещение текста, убран крафт ракеты

This commit is contained in:
Vitaliy Olkhin 2024-08-04 16:19:35 +05:00
parent 60ac4578db
commit 7368ed1cc5
2 changed files with 12 additions and 2 deletions

View File

@ -153,7 +153,7 @@ surface_effect.mask = function(player)
name = "Chemical protection status indicator",
hud_elem_type = "text",
position = {x = 0.7, y = 0.1},
offset = {x = 90, y = -50},
offset = {x = 90, y = -40},
scale = {
x = 50,
y = 10

View File

@ -144,4 +144,14 @@ end)]]
minetest.register_on_player_inventory_action(function(player, action, inventory, inventory_info)
surface_effect.mask(player)
end)
end)
minetest.clear_craft({
output = "rangedweapons:hand_grenade"
})
minetest.clear_craft({
output = "rangedweapons:rpg"
})
minetest.clear_craft({
output = "rangedweapons:rocket"
})