mirror of
				https://codeberg.org/tenplus1/farming.git
				synced 2025-11-04 08:15:28 +01:00 
			
		
		
		
	Fix a few descriptions
This commit is contained in:
		@@ -74,6 +74,7 @@ minetest.register_craft( {
 | 
				
			|||||||
	recipe = {
 | 
						recipe = {
 | 
				
			||||||
		{ "vessels:glass_bottle", "group:food_corn", "group:food_corn"},
 | 
							{ "vessels:glass_bottle", "group:food_corn", "group:food_corn"},
 | 
				
			||||||
		{ "group:food_corn", "group:food_corn", "group:food_corn"},
 | 
							{ "group:food_corn", "group:food_corn", "group:food_corn"},
 | 
				
			||||||
 | 
							{ "group:food_corn", "group:food_corn", "group:food_corn"},
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -33,7 +33,7 @@ minetest.register_craft({
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
-- ground pepper
 | 
					-- ground pepper
 | 
				
			||||||
minetest.register_node("farming:pepper_ground", {
 | 
					minetest.register_node("farming:pepper_ground", {
 | 
				
			||||||
	description = ("Ground Pepper"),
 | 
						description = S("Ground Pepper"),
 | 
				
			||||||
	inventory_image = "crops_pepper_ground.png",
 | 
						inventory_image = "crops_pepper_ground.png",
 | 
				
			||||||
	wield_image = "crops_pepper_ground.png",
 | 
						wield_image = "crops_pepper_ground.png",
 | 
				
			||||||
	drawtype = "plantlike",
 | 
						drawtype = "plantlike",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -88,6 +88,7 @@ minetest.register_craft({
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
--- wooden scarecrow base
 | 
					--- wooden scarecrow base
 | 
				
			||||||
minetest.register_node("farming:scarecrow_bottom", {
 | 
					minetest.register_node("farming:scarecrow_bottom", {
 | 
				
			||||||
 | 
						description = S("Scarecrow Bottom"),
 | 
				
			||||||
	paramtype = "light",
 | 
						paramtype = "light",
 | 
				
			||||||
	sunlight_propagates = true,
 | 
						sunlight_propagates = true,
 | 
				
			||||||
	paramtype2 = "facedir",
 | 
						paramtype2 = "facedir",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -66,14 +66,14 @@ minetest.override_item("farming:rice", {
 | 
				
			|||||||
})
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
minetest.register_craftitem("farming:rice_bread", {
 | 
					minetest.register_craftitem("farming:rice_bread", {
 | 
				
			||||||
	description = "Rice Bread",
 | 
						description = S("Rice Bread"),
 | 
				
			||||||
	inventory_image = "farming_rice_bread.png",
 | 
						inventory_image = "farming_rice_bread.png",
 | 
				
			||||||
	on_use = minetest.item_eat(5),
 | 
						on_use = minetest.item_eat(5),
 | 
				
			||||||
	groups = {food_rice_bread = 1, flammable = 2},
 | 
						groups = {food_rice_bread = 1, flammable = 2},
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
minetest.register_craftitem("farming:rice_flour", {
 | 
					minetest.register_craftitem("farming:rice_flour", {
 | 
				
			||||||
	description = "Rice Flour",
 | 
						description = S("Rice Flour"),
 | 
				
			||||||
	inventory_image = "farming_rice_flour.png",
 | 
						inventory_image = "farming_rice_flour.png",
 | 
				
			||||||
	groups = {food_rice_flour = 1, flammable = 1},
 | 
						groups = {food_rice_flour = 1, flammable = 1},
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								food.lua
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								food.lua
									
									
									
									
									
								
							@@ -20,7 +20,7 @@ minetest.register_craft({
 | 
				
			|||||||
--= Salt
 | 
					--= Salt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
minetest.register_node("farming:salt", {
 | 
					minetest.register_node("farming:salt", {
 | 
				
			||||||
	description = ("Salt"),
 | 
						description = S("Salt"),
 | 
				
			||||||
	inventory_image = "farming_salt.png",
 | 
						inventory_image = "farming_salt.png",
 | 
				
			||||||
	wield_image = "farming_salt.png",
 | 
						wield_image = "farming_salt.png",
 | 
				
			||||||
	drawtype = "plantlike",
 | 
						drawtype = "plantlike",
 | 
				
			||||||
@@ -47,7 +47,7 @@ minetest.register_craft({
 | 
				
			|||||||
--= Rose Water
 | 
					--= Rose Water
 | 
				
			||||||
 | 
					
 | 
				
			||||||
minetest.register_node("farming:rose_water", {
 | 
					minetest.register_node("farming:rose_water", {
 | 
				
			||||||
	description = ("Rose Water"),
 | 
						description = S("Rose Water"),
 | 
				
			||||||
	inventory_image = "farming_rose_water.png",
 | 
						inventory_image = "farming_rose_water.png",
 | 
				
			||||||
	wield_image = "farming_rose_water.png",
 | 
						wield_image = "farming_rose_water.png",
 | 
				
			||||||
	drawtype = "plantlike",
 | 
						drawtype = "plantlike",
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								hoes.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								hoes.lua
									
									
									
									
									
								
							@@ -350,7 +350,7 @@ farming.add_to_scythe_not_drops = function(item)
 | 
				
			|||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
minetest.register_tool("farming:scythe_mithril", {
 | 
					minetest.register_tool("farming:scythe_mithril", {
 | 
				
			||||||
	description = S("Mithril Scythe (Use to harvest and replant crops)"),
 | 
						description = S("Mithril Scythe (Right-click to harvest and replant crops)"),
 | 
				
			||||||
	inventory_image = "farming_scythe_mithril.png",
 | 
						inventory_image = "farming_scythe_mithril.png",
 | 
				
			||||||
	sound = {breaks = "default_tool_breaks"},
 | 
						sound = {breaks = "default_tool_breaks"},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										3
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								init.lua
									
									
									
									
									
								
							@@ -79,7 +79,8 @@ end
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- Growth Logic
 | 
					-- Growth Logic
 | 
				
			||||||
local STAGE_LENGTH_AVG = tonumber(minetest.settings:get("farming_stage_length")) or 160
 | 
					local STAGE_LENGTH_AVG = tonumber(
 | 
				
			||||||
 | 
							minetest.settings:get("farming_stage_length")) or 160
 | 
				
			||||||
local STAGE_LENGTH_DEV = STAGE_LENGTH_AVG / 6
 | 
					local STAGE_LENGTH_DEV = STAGE_LENGTH_AVG / 6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user