1
0
mirror of https://github.com/Sokomine/cottages.git synced 2026-01-10 02:55:50 +01:00

#16 Various issues/typos reported by axcore

This commit is contained in:
Sokomine
2025-12-31 23:18:30 +01:00
parent 18f8c56b75
commit 6a144a1bc9
2 changed files with 4 additions and 6 deletions

View File

@@ -17,6 +17,7 @@ local S = cottages.S
-- * mesh: like nodebox - except that it uses a nice roundish model
local cottages_feldweg_mode = minetest.settings:get("cottages_feldweg_mode")
if( cottages_feldweg_mode ~= "mesh"
and cottages_feldweg_mode ~= "simple"
and cottages_feldweg_mode ~= "flat"
and cottages_feldweg_mode ~= "nodebox"
and cottages_feldweg_mode ~= "mesh_incl_45") then
@@ -368,7 +369,7 @@ if( cottages_feldweg_mode == "flat" ) then
elseif( cottages_feldweg_mode == "nodebox" ) then
cottages.register_feldweg_node("cottages:feldweg", {
description = S("dirt road"),
tiles = {"cottages_feldweg_orig.png","default_dirt.png", "default_dirt.png^default_grass_side.png"},
tiles = {"cottages_feldweg.png","default_dirt.png", "default_dirt.png^default_grass_side.png"},
paramtype2 = "facedir",
drawtype = "nodebox",
-- top, bottom, side1, side2, inner, outer

View File

@@ -101,9 +101,6 @@ minetest.register_node("cottages:sleeping_mat", {
walkable = false,
groups = { snappy = 3, sleeping_mat = 1, animates_player = 1},
sounds = cottages.sounds.leaves,
selection_box = {
type = "wallmounted",
},
node_box = {
type = "fixed",
fixed = {
@@ -569,7 +566,7 @@ cottages.sleep_in_bed = function( pos, node, clicker, itemstack, pointed_thing )
else
clicker:set_pos( player_pos )
cottages.sit(clicker)
minetest.chat_send_player( pname, 'Aaah! What a comftable '..place_name..'. A second right-click will let you sleep.');
minetest.chat_send_player( pname, 'Aaah! What a comfortable '..place_name..'. A second right-click will let you sleep.');
end
else
if (animation and animation.animation=="sit") then -- let the player up
@@ -579,7 +576,7 @@ cottages.sleep_in_bed = function( pos, node, clicker, itemstack, pointed_thing )
else
clicker:set_pos( player_pos )
cottages.sit(clicker)
minetest.chat_send_player( pname, 'Comftable, but not good enough for a nap. Right-click again if you want to get back up.');
minetest.chat_send_player( pname, 'Comfortable, but not good enough for a nap. Right-click again if you want to get back up.');
end
end
end