2 Commits be56564c28 ... 12eb5579a1

Autor SHA1 Nachricht Datum
  tenplus1 12eb5579a1 added handy=1 group to seeds, hemp block and hemp rope (thx usrib) vor 1 Jahr
  tenplus1 1f97cbbe00 fix hemp fibre recipe (thx fluxionary) vor 1 Jahr
8 geänderte Dateien mit 22 neuen und 11 gelöschten Zeilen
  1. 4 1
      crops/barley.lua
  2. 3 1
      crops/cotton.lua
  3. 7 3
      crops/hemp.lua
  4. 1 1
      crops/mint.lua
  5. 1 1
      crops/rice.lua
  6. 1 1
      crops/sunflower.lua
  7. 3 1
      crops/wheat.lua
  8. 2 2
      init.lua

+ 4 - 1
crops/barley.lua

@@ -9,7 +9,10 @@ minetest.register_node("farming:seed_barley", {
 	inventory_image = "farming_barley_seed.png",
 	wield_image = "farming_barley_seed.png",
 	drawtype = "signlike",
-	groups = {compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1},
+	groups = {
+		handy = 1, compostability = 48, seed = 1, snappy = 3, attached_node = 1,
+		growing = 1
+	},
 	paramtype = "light",
 	paramtype2 = "wallmounted",
 	walkable = false,

+ 3 - 1
crops/cotton.lua

@@ -14,7 +14,9 @@ minetest.register_node("farming:cotton_wild", {
 	sunlight_propagates = true,
 	walkable = false,
 	buildable_to = true,
-	groups = {handy = 1, snappy = 3, attached_node = 1, flammable = 4, compostability = 60},
+	groups = {
+		handy = 1, snappy = 3, attached_node = 1, flammable = 4, compostability = 60
+	},
 	drop = {
 		items = {
 			{items = {"farming:cotton"}, rarity = 2},

+ 7 - 3
crops/hemp.lua

@@ -9,7 +9,10 @@ minetest.register_node("farming:seed_hemp", {
 	inventory_image = "farming_hemp_seed.png",
 	wield_image = "farming_hemp_seed.png",
 	drawtype = "signlike",
-	groups = {compostability = 38, seed = 1, snappy = 3, attached_node = 1, growing = 1},
+	groups = {
+		handy = 1, compostability = 38, seed = 1, snappy = 3, attached_node = 1,
+		growing = 1
+	},
 	paramtype = "light",
 	paramtype2 = "wallmounted",
 	walkable = false,
@@ -91,7 +94,7 @@ minetest.register_craft( {
 		{"farming:hemp_leaf", "group:water_bucket", "farming:hemp_leaf"},
 		{"farming:hemp_leaf", "farming:hemp_leaf", "farming:hemp_leaf"}
 	},
-	replacements = {{a.bucket_water, a.bucket_empty}}
+	replacements = {{"group:water_bucket", a.bucket_empty}}
 })
 
 if minetest.get_modpath("bucket_wooden") then
@@ -178,7 +181,8 @@ minetest.register_node("farming:hemp_rope", {
 	inventory_image = "farming_hemp_rope.png",
 	drawtype = "plantlike",
 	groups = {
-		flammable = 2, choppy = 3, oddly_breakable_by_hand = 3, compostability = 55
+		handy = 1, axey = 1, flammable = 2, choppy = 3, oddly_breakable_by_hand = 3,
+		compostability = 55
 	},
 	sounds =  farming.sounds.node_sound_leaves_defaults(),
 	selection_box = {

+ 1 - 1
crops/mint.lua

@@ -11,7 +11,7 @@ minetest.register_node("farming:seed_mint", {
 	drawtype = "signlike",
 	groups = {
 		compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1,
-		flammable = 2
+		handy = 1, flammable = 2
 	},
 	paramtype = "light",
 	paramtype2 = "wallmounted",

+ 1 - 1
crops/rice.lua

@@ -10,7 +10,7 @@ minetest.register_node("farming:seed_rice", {
 	wield_image = "farming_rice_seed.png",
 	drawtype = "signlike",
 	groups = {
-		compostability = 48, seed = 1, snappy = 3, attached_node = 1,
+		handy = 1, compostability = 48, seed = 1, snappy = 3, attached_node = 1,
 		flammable = 4, growing = 1
 	},
 	paramtype = "light",

+ 1 - 1
crops/sunflower.lua

@@ -18,7 +18,7 @@ minetest.register_node("farming:seed_sunflower", {
 	drawtype = "signlike",
 	groups = {
 		compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1,
-		food_sunflower_seeds = 1, flammable = 2
+		handy = 1, food_sunflower_seeds = 1, flammable = 2
 	},
 	paramtype = "light",
 	paramtype2 = "wallmounted",

+ 3 - 1
crops/wheat.lua

@@ -9,7 +9,9 @@ minetest.register_node("farming:seed_wheat", {
 	inventory_image = "farming_wheat_seed.png",
 	wield_image = "farming_wheat_seed.png",
 	drawtype = "signlike",
-	groups = {seed = 1, snappy = 3, attached_node = 1, flammable = 4, growing = 1},
+	groups = {
+		handy = 1, seed = 1, snappy = 3, attached_node = 1, flammable = 4, growing = 1
+	},
 	paramtype = "light",
 	paramtype2 = "wallmounted",
 	walkable = false,

+ 2 - 2
init.lua

@@ -7,7 +7,7 @@
 
 farming = {
 	mod = "redo",
-	version = "20230915",
+	version = "20231125",
 	path = minetest.get_modpath("farming"),
 	select = {
 		type = "fixed",
@@ -586,7 +586,7 @@ farming.register_plant = function(name, def)
 		drawtype = "signlike",
 		groups = {
 			seed = 1, snappy = 3, attached_node = 1, flammable = 2, growing = 1,
-			compostability = 65
+			compostability = 65, handy = 1
 		},
 		paramtype = "light",
 		paramtype2 = "wallmounted",