This commit is contained in:
Mikita Wiśniewski 2022-05-02 11:51:44 +07:00
parent 8d03daaf06
commit 8aca5d7d48
1 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ minetest.register_chatcommand("sit", {
mcl_player.player_attached[name] = false mcl_player.player_attached[name] = false
mcl_player.player_set_animation(player, "stand", 30) mcl_player.player_set_animation(player, "stand", 30)
if mcl_cozy_print_status then if mcl_cozy_print_status then
minetest.chat_send_all("* "..name..S(" got up")) minetest.chat_send_all("* "..name..S(" stands up"))
end end
else else
player:set_eye_offset({x=0, y=-7, z=2}, {x=0, y=0, z=0}) player:set_eye_offset({x=0, y=-7, z=2}, {x=0, y=0, z=0})
@ -37,7 +37,7 @@ minetest.register_chatcommand("sit", {
mcl_player.player_attached[name] = true mcl_player.player_attached[name] = true
mcl_player.player_set_animation(player, "sit", 30) mcl_player.player_set_animation(player, "sit", 30)
if mcl_cozy_print_actions then if mcl_cozy_print_actions then
minetest.chat_send_all("* "..name..S(" sat down")) minetest.chat_send_all("* "..name..S(" sits")
end end
mcl_title.set(player, "actionbar", {text=S("Move to stand up"), color="white", stay=60}) mcl_title.set(player, "actionbar", {text=S("Move to stand up"), color="white", stay=60})
end end
@ -54,7 +54,7 @@ minetest.register_chatcommand("lay", {
mcl_player.player_attached[name] = false mcl_player.player_attached[name] = false
mcl_player.player_set_animation(player, "stand", 30) mcl_player.player_set_animation(player, "stand", 30)
if mcl_cozy_print_actions then if mcl_cozy_print_actions then
minetest.chat_send_all("* "..name..S(" got up")) minetest.chat_send_all("* "..name..S(" stands up"))
end end
else else
player:set_eye_offset({x=0, y=-13, z=0}, {x=0, y=0, z=0}) player:set_eye_offset({x=0, y=-13, z=0}, {x=0, y=0, z=0})
@ -62,7 +62,7 @@ minetest.register_chatcommand("lay", {
mcl_player.player_attached[name] = true mcl_player.player_attached[name] = true
mcl_player.player_set_animation(player, "lay", 0) mcl_player.player_set_animation(player, "lay", 0)
if mcl_cozy_print_actions then if mcl_cozy_print_actions then
minetest.chat_send_all("* "..name..S(" lay down")) minetest.chat_send_all("* "..name..S(" lies"))
end end
mcl_title.set(player, "actionbar", {text=S("Move to stand up"), color="white", stay=60}) mcl_title.set(player, "actionbar", {text=S("Move to stand up"), color="white", stay=60})
end end