Merge branch 'MihailRis:main' into main

This commit is contained in:
Xertis
2025-01-14 00:05:07 +03:00
committed by GitHub
40 changed files with 491 additions and 209 deletions
+1
View File
@@ -19,3 +19,4 @@ player.pick="mouse:middle"
player.drop="key:q"
player.fast_interaction="key:x"
hud.inventory="key:tab"
hud.chat="key:t"
+9
View File
@@ -39,6 +39,7 @@ local function complete_app_lib(app)
app.get_setting_info = core.get_setting_info
app.load_content = core.load_content
app.reset_content = core.reset_content
app.is_content_loaded = core.is_content_loaded
function app.config_packs(packs_list)
-- Check if packs are valid and add dependencies to the configuration
@@ -376,6 +377,14 @@ function __vc_on_hud_open()
hud.show_overlay("core:console", false, {"console"})
end)
end)
input.add_callback("hud.chat", function()
if hud.is_paused() then
return
end
time.post_runnable(function()
hud.show_overlay("core:console", false, {"chat"})
end)
end)
end
local RULES_FILE = "world:rules.toml"
+1
View File
@@ -33,6 +33,7 @@ movement.sprint=Sprint
movement.crouch=Crouch
movement.cheat=Cheat
hud.inventory=Inventory
hud.chat=Chat
player.pick=Pick Block
player.attack=Attack
player.destroy=Destroy
+1
View File
@@ -103,6 +103,7 @@ movement.sprint=Ускорение
movement.crouch=Красться
movement.cheat=Чит
hud.inventory=Инвентарь
hud.chat=Чат
player.pick=Подобрать Блок
player.attack=Атаковать
player.destroy=Сломать