10 Commits ce8c661039 ... 38ad340040

Author SHA1 Message Date
  Diaeresis 38ad340040 Feature to "tug" on end of rope to restart its timer if it got stuck 7 months ago
  Diaeresis faca68ce14 Show remaining length of ropebox on end node 7 months ago
  Diaeresis 5f4ff52b1a Fix crash when placing normally unobtainable sign variants 7 months ago
  Diaeresis ac6be05e15 Fix bridged death message 7 months ago
  Diaeresis 722703df7f Send death messages to IRC 7 months ago
  Diaeresis edd3166018 Fix balloon recipe inconsistency 7 months ago
  Diaeresis 881719df21 Boost mithril hoe durability 7 months ago
  Diaeresis 52ab6d4a02 Cascade canteen recipes 7 months ago
  Diaeresis 03ae1c4181 Add recipe for honeycomb 7 months ago
  Diaeresis 0ea673d250 Adjust guano node registration 7 months ago

+ 3 - 1
mods/ENTITIES/animalia/craftitems.lua

@@ -533,7 +533,9 @@ minetest.register_node("animalia:guano", {
 			player:set_wielded_item(item)
 			minetest.remove_node(pos)
 		end
-	end
+	end,
+	drop = {},
+	stack_max = 1,
 })
 
 minetest.register_node("animalia:crate", {

+ 5 - 1
mods/HUD/death_messages/init.lua

@@ -328,7 +328,11 @@ minetest.register_on_dieplayer(function(player)
 		message = prepend_location(message, pl_pos_string)
 		minetest.chat_send_all(minetest.colorize("#FF0000",(string.gsub(message, "%(player%)", name))))
 	end
-	death_messages.reset_watchers(player) 
+	death_messages.reset_watchers(player)
+
+	if irc and irc.connected then
+		irc.say(string.gsub(message, "%(player%)", name))
+	end
 end)
 
 -----------------------------------------------------------------------------------------------

+ 1 - 0
mods/HUD/death_messages/mod.conf

@@ -1 +1,2 @@
 name = death_messages
+optional_depends = irc

+ 1 - 2
mods/ITEMS/balloonblocks/init.lua

@@ -99,8 +99,7 @@ local function register_node_craft(strColour, intLum, strPrepend, strGlowCraftIt
     if strPrepend ~= '' then
         minetest.register_craft({
             output = strNodeName,
-            type = 'shapeless',
-            recipe = {'balloonblocks:'..strColour, strGlowCraftItem}
+            recipe = {{strGlowCraftItem, 'balloonblocks:'..strColour, strGlowCraftItem}}
         })
     end
 end

+ 10 - 0
mods/ITEMS/bees/crafting.lua

@@ -59,3 +59,13 @@ minetest.register_craft({
 		{"bees:honeycomb", "bees:honeycomb", "bees:honeycomb"},
 	}
 })
+
+minetest.register_craft({
+  output = "bees:honeycomb",
+  recipe = {
+    {"bees:bottle_honey", "bees:wax"},
+  },
+  replacements = {
+    {"bees:bottle_honey", "vessels:glass_bottle"},
+  },
+})

+ 1 - 1
mods/ITEMS/farming/hoes.lua

@@ -492,7 +492,7 @@ if minetest.get_modpath("moreores") then
 	farming.register_hoe(":moreores:hoe_mithril", {
 		description = S("%s Hoe"):format(S("Mithril")),
 		inventory_image = "moreores_tool_mithrilhoe.png",
-		max_uses = 1000,
+		max_uses = 10000,
 		material = "moreores:mithril_ingot"
 	})
 

+ 7 - 0
mods/ITEMS/ropes/functions.lua

@@ -14,6 +14,13 @@ ropes.make_rope_on_timer = function(rope_node_name)
 				local newmeta = minetest.get_meta(newpos)
 				newmeta:set_int("length_remaining", currentlength-1)
 				newmeta:set_string("placer", placer_name)
+				local infotext
+				if currentlength > 2 then
+					infotext = "Remaining length: " .. (currentlength-2)
+				else
+					infotext = "Reached end!"
+				end
+				newmeta:set_string("infotext", infotext)
 				minetest.set_node(pos, {name=rope_node_name, param2=oldnode.param2})
 				ropes.move_players_down(pos, 1)
 			else

+ 9 - 0
mods/ITEMS/ropes/ropeboxes.lua

@@ -301,6 +301,15 @@ local rope_bottom_def = {
     after_destruct = function(pos)
 		ropes.hanging_after_destruct(pos, "ropes:rope_top", "ropes:rope", "ropes:rope_bottom")
 	end,
+
+	on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
+		-- sometimes it just stops, tug on the end to restart the timer
+		local timer = minetest.get_node_timer(pos)
+		if timer:get_timeout() == 0 then
+			-- timer is stopped, start it again
+			timer:start(1)
+		end
+	end,
 }
 
 minetest.register_node("ropes:rope", rope_def)

+ 3 - 1
mods/ITEMS/signs_lib/api.lua

@@ -969,10 +969,12 @@ function signs_lib.after_place_node(pos, placer, itemstack, pointed_thing, locke
 	local controls = placer:get_player_control()
 
 	local signname = itemstack:get_name()
-	local no_wall_name = string.gsub(signname, "_wall", "")
 
 	local def = minetest.registered_items[signname]
 
+	local base_sign_name = def.signs_lib_base_sign
+	local no_wall_name = string.gsub(base_sign_name, "_wall", "")
+
 	if def.allow_onpole and signs_lib.check_for_pole(pos, pointed_thing) and not controls.sneak then
 		local newparam2
 		local lookdir = minetest.yaw_to_dir(placer:get_look_horizontal())

+ 0 - 0
mods/ITEMS/signs_lib/standard_signs.lua


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