Skip to content

Commit

Permalink
Merge branch 'main' into chunks-manipulations
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailRis committed Jan 11, 2025
2 parents 29e018c + d7ad7ff commit 0e83ee0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions res/config/bindings.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 8 additions & 0 deletions res/scripts/stdlib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -377,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"
Expand Down
1 change: 1 addition & 0 deletions res/texts/en_US.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions res/texts/ru_RU.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ movement.sprint=Ускорение
movement.crouch=Красться
movement.cheat=Чит
hud.inventory=Инвентарь
hud.chat=Чат
player.pick=Подобрать Блок
player.attack=Атаковать
player.destroy=Сломать
Expand Down

0 comments on commit 0e83ee0

Please sign in to comment.