2 Commits 06b6ac1608 ... a31a7679b9

Author SHA1 Message Date
  MeseCraft a31a7679b9 Merge branch 'development' 6 months ago
  MeseCraft 1ac957ba99 2021-07-05 6 months ago

+ 3 - 0
changelog.txt

@@ -1,5 +1,8 @@
 # Changelog for MeseCraft #
 
+2021-07-05
+* Removed ts_furniture and ts_workshop to encourage player creativity instead of providing pre-defined furniture nodes.
+
 2021-07-04
 * Fixed duplication bug with bee's reported by Mineman. Disabled Bee hive damage.
 * Added todo notes for bee's.

+ 0 - 1
mods/ITEMS/ts_furniture/.gitignore

@@ -1 +0,0 @@
-*~

+ 0 - 21
mods/ITEMS/ts_furniture/LICENSE

@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2019 Thomas S.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.

+ 0 - 9
mods/ITEMS/ts_furniture/README.md

@@ -1,9 +0,0 @@
-# ts_furniture
-
-This mod adds basic furniture (Chairs, Tables, Small Tables, Tiny Tables, Benches).
-
-It was made by Thomas-S.
-
-It is published under the MIT license.
-
-Code from "Get Comfortable [cozy]" (by everamzah; published under WTFPL) was used and modified.

+ 0 - 3
mods/ITEMS/ts_furniture/depends.txt

@@ -1,3 +0,0 @@
-default
-moretrees?
-ethereal?

+ 0 - 1
mods/ITEMS/ts_furniture/description.txt

@@ -1 +0,0 @@
-Adds basic furniture (Chairs, Tables, Small Tables, Tiny Tables, Benches).

+ 0 - 187
mods/ITEMS/ts_furniture/init.lua

@@ -1,191 +0,0 @@
-ts_furniture = {}
-
-ts_furniture.enable_sitting = true
-
-minetest.register_globalstep(function(dtime)
-	local players = minetest.get_connected_players()
-	for i = 1, #players do
-		local name = players[i]:get_player_name()
-		if default.player_attached[name] and not players[i]:get_attach() and
-				(players[i]:get_player_control().up == true or
-						players[i]:get_player_control().down == true or
-						players[i]:get_player_control().left == true or
-						players[i]:get_player_control().right == true or
-						players[i]:get_player_control().jump == true) then
-			players[i]:set_eye_offset({ x = 0, y = 0, z = 0 }, { x = 0, y = 0, z = 0 })
-			players[i]:set_physics_override(1, 1, 1)
-			default.player_attached[name] = false
-			default.player_set_animation(players[i], "stand", 30)
-		end
-	end
-end)
-
-ts_furniture.sit = function(name, pos)
-	local player = minetest.get_player_by_name(name)
-	if default.player_attached[name] then
-		player:set_eye_offset({ x = 0, y = 0, z = 0 }, { x = 0, y = 0, z = 0 })
-		player:set_physics_override(1, 1, 1)
-		default.player_attached[name] = false
-		default.player_set_animation(player, "stand", 30)
-	else
-		player:moveto(pos)
-		player:set_eye_offset({ x = 0, y = -7, z = 2 }, { x = 0, y = 0, z = 0 })
-		player:set_physics_override(0, 0, 0)
-		default.player_attached[name] = true
-		default.player_set_animation(player, "sit", 30)
-	end
-end
-
-local furnitures = {
-	["chair"] = {
-		description = "Chair",
-		sitting = true,
-		nodebox = {
-			{ -0.3, -0.5, 0.2, -0.2, 0.5, 0.3 }, -- foot 1
-			{ 0.2, -0.5, 0.2, 0.3, 0.5, 0.3 }, -- foot 2
-			{ 0.2, -0.5, -0.3, 0.3, -0.1, -0.2 }, -- foot 3
-			{ -0.3, -0.5, -0.3, -0.2, -0.1, -0.2 }, -- foot 4
-			{ -0.3, -0.1, -0.3, 0.3, 0, 0.2 }, -- seating
-			{ -0.2, 0.1, 0.25, 0.2, 0.4, 0.26 } -- conector 1-2
-		},
-		craft = function(recipe)
-			return {
-				{ "", "group:stick" },
-				{ recipe, recipe },
-				{ "group:stick", "group:stick" }
-			}
-		end
-	},
-	["table"] = {
-		description = "Table",
-		nodebox = {
-			{ -0.4, -0.5, -0.4, -0.3, 0.4, -0.3 }, -- foot 1
-			{ 0.3, -0.5, -0.4, 0.4, 0.4, -0.3 }, -- foot 2
-			{ -0.4, -0.5, 0.3, -0.3, 0.4, 0.4 }, -- foot 3
-			{ 0.3, -0.5, 0.3, 0.4, 0.4, 0.4 }, -- foot 4
-			{ -0.5, 0.4, -0.5, 0.5, 0.5, 0.5 }, -- table top
-		},
-		craft = function(recipe)
-			return {
-				{ recipe, recipe, recipe },
-				{ "group:stick", "", "group:stick" },
-				{ "group:stick", "", "group:stick" }
-			}
-		end
-	},
-	["bench"] = {
-		description = "Bench",
-		sitting = true,
-		nodebox = {
-			{ -0.5, -0.1, 0, 0.5, 0, 0.5 }, -- seating
-			{ -0.4, -0.5, 0, -0.3, -0.1, 0.5 }, -- foot 1
-			{ 0.3, -0.5, 0, 0.4, -0.1, 0.5 }, -- foot 2
-		},
-		craft = function(recipe)
-			return {
-				{ recipe, recipe },
-				{ "group:stick", "group:stick" }
-			}
-		end
-	},
-}
-
-local ignore_groups = {
-	["wood"] = true,
-	["stone"] = true,
-}
-
-function ts_furniture.register_furniture(recipe, description, texture)
-	local recipe_def = minetest.registered_items[recipe]
-	if not recipe_def then
-		return
-	end
-
-	local groups = {}
-	for k, v in pairs(recipe_def.groups) do
-		if not ignore_groups[k] then
-			groups[k] = v
-		end
-	end
-
-	for furniture, def in pairs(furnitures) do
-		local node_name = "ts_furniture:" .. recipe:gsub(":", "_") .. "_" .. furniture
-
-		def.on_rightclick = nil
-
-		if def.sitting and ts_furniture.enable_sitting then
-			def.on_rightclick = function(pos, node, player, itemstack, pointed_thing)
-				ts_furniture.sit(player:get_player_name(), pos)
-			end
-		end
-
-		minetest.register_node(":" .. node_name, {
-			description = description .. " " .. def.description,
-			drawtype = "nodebox",
-			paramtype = "light",
-			paramtype2 = "facedir",
-			sunlight_propagates = true,
-			tiles = { texture },
-			groups = groups,
-			node_box = {
-				type = "fixed",
-				fixed = def.nodebox
-			},
-			on_rightclick = def.on_rightclick
-		})
-
-		minetest.register_craft({
-			output = node_name,
-			recipe = def.craft(recipe)
-		})
-	end
-end
-
-ts_furniture.register_furniture("default:aspen_wood", "Aspen", "default_aspen_wood.png")
-ts_furniture.register_furniture("default:pine_wood", "Pine", "default_pine_wood.png")
-ts_furniture.register_furniture("default:acacia_wood", "Acacia", "default_acacia_wood.png")
-ts_furniture.register_furniture("default:wood", "Wooden", "default_wood.png")
-ts_furniture.register_furniture("default:junglewood", "Jungle Wood", "default_junglewood.png")
-
-if (minetest.get_modpath("moretrees")) then
-	ts_furniture.register_furniture("moretrees:apple_tree_planks", "Apple Tree", "moretrees_apple_tree_wood.png")
-	ts_furniture.register_furniture("moretrees:beech_planks", "Beech", "moretrees_beech_wood.png")
-	ts_furniture.register_furniture("moretrees:birch_planks", "Birch", "moretrees_birch_wood.png")
-	ts_furniture.register_furniture("moretrees:fir_planks", "Fir", "moretrees_fir_wood.png")
-	ts_furniture.register_furniture("moretrees:oak_planks", "Oak", "moretrees_oak_wood.png")
-	ts_furniture.register_furniture("moretrees:palm_planks", "Palm", "moretrees_palm_wood.png")
-	ts_furniture.register_furniture("moretrees:rubber_tree_planks", "Rubber Tree", "moretrees_rubber_tree_wood.png")
-	ts_furniture.register_furniture("moretrees:sequoia_planks", "Sequoia", "moretrees_sequoia_wood.png")
-	ts_furniture.register_furniture("moretrees:spruce_planks", "Spruce", "moretrees_spruce_wood.png")
-	ts_furniture.register_furniture("moretrees:willow_planks", "Willow", "moretrees_willow_wood.png")
-end
-
-if minetest.get_modpath("ethereal") then
-	ts_furniture.register_furniture("ethereal:banana_wood", "Banana", "banana_wood.png")
-	ts_furniture.register_furniture("ethereal:birch_wood", "Birch", "moretrees_birch_wood.png")
-	ts_furniture.register_furniture("ethereal:frost_wood", "Frost", "frost_wood.png")
-	ts_furniture.register_furniture("ethereal:mushroom_trunk", "Mushroom", "mushroom_trunk.png")
-	ts_furniture.register_furniture("ethereal:palm_wood", "Palm", "moretrees_palm_wood.png")
-	ts_furniture.register_furniture("ethereal:redwood_wood", "Redwood", "redwood_wood.png")
-	ts_furniture.register_furniture("ethereal:sakura_wood", "Sakura", "ethereal_sakura_wood.png")
-	ts_furniture.register_furniture("ethereal:scorched_tree", "Scorched", "scorched_tree.png")
-	ts_furniture.register_furniture("ethereal:willow_wood", "Willow", "willow_wood.png")
-	ts_furniture.register_furniture("ethereal:yellow_wood", "Healing Tree", "yellow_wood.png")
-end
-
-if minetest.get_modpath("df_trees") then
-        ts_furniture.register_furniture("df_trees:black_cap_wood", "Black Cap", "dfcaverns_black_cap_wood.png")
-        ts_furniture.register_furniture("df_trees:blood_thorn_wood", "Blood Thorn", "dfcaverns_blood_thorn_wood.png")
-        ts_furniture.register_furniture("df_trees:fungiwood_wood", "Fungiwood", "dfcaverns_fungiwood_wood.png")
-        ts_furniture.register_furniture("df_trees:goblin_cap_stem_wood", "Goblin Cap Stem", "dfcaverns_goblin_cap_stem_wood.png")
-        ts_furniture.register_furniture("df_trees:goblin_cap_wood", "Goblin Cap", "dfcaverns_goblin_cap_wood.png")
-        ts_furniture.register_furniture("df_trees:nether_cap_wood", "Nether Cap", "dfcaverns_nether_cap_wood.png")
-        ts_furniture.register_furniture("df_trees:tower_cap_wood", "Tower Cap", "dfcaverns_tower_cap_wood.png")
-        ts_furniture.register_furniture("df_trees:spore_tree_wood", "Spore Tree", "dfcaverns_spore_tree_wood.png")
-        ts_furniture.register_furniture("df_trees:tunnel_tube_wood", "Tunnel Tube", "dfcaverns_tunnel_tube_wood_side.png")
-end
-

+ 0 - 4
mods/ITEMS/ts_furniture/mod.conf

@@ -1,4 +0,0 @@
-name = ts_furniture
-depends = default
-optional_depends = moretrees, ethereal
-description = Adds basic furniture (Chairs, Tables, Small Tables, Tiny Tables, Benches).

+ 0 - 21
mods/ITEMS/ts_workshop/LICENSE

@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2017 Thomas S.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.

+ 0 - 0
mods/ITEMS/ts_workshop/README.md


Some files were not shown because too many files changed in this diff