mirror of
				https://github.com/sys4-fr/server-nalc.git
				synced 2025-10-31 20:45:22 +01:00 
			
		
		
		
	Fixed itemstrings' prefixes and wrongly applyed diff
This commit is contained in:
		| @@ -1,35 +1,35 @@ | ||||
| -- Register helmets: | ||||
|  | ||||
| minetest.register_tool("3d_armor:helmet_leather_hunter", { | ||||
| minetest.register_tool(":3d_armor:helmet_leather_hunter", { | ||||
| 	description = "Hunter's Leather Helmet", | ||||
| 	inventory_image = "3d_armor_inv_helmet_leather_hunter.png", | ||||
| 	inventory_image = ":3d_armor_inv_helmet_leather_hunter.png", | ||||
| 	groups = {armor_head = 10, armor_heal = 0, armor_use = 500}, 		--Valeurs non décidés | ||||
| 	wear = 0, | ||||
| }) | ||||
|  | ||||
| -- Register chestplates: | ||||
|  | ||||
| minetest.register_tool("3d_armor:chestplate_leather_hunter", { | ||||
| minetest.register_tool(":3d_armor:chestplate_leather_hunter", { | ||||
| 	description = "Hunter's Leather Chestplate", | ||||
| 	inventory_image = "3d_armor_inv_chestplate_leather_hunter.png", | ||||
| 	inventory_image = ":3d_armor_inv_chestplate_leather_hunter.png", | ||||
| 	groups = {armor_torso = 15, armor_heal = 0, armor_use = 500}, 		--Valeurs non décidés | ||||
| 	wear = 0, | ||||
| }) | ||||
|  | ||||
| -- Register leggings: | ||||
|  | ||||
| minetest.register_tool("3d_armor:leggings_leather_hunter", { | ||||
| minetest.register_tool(":3d_armor:leggings_leather_hunter", { | ||||
| 	description = "Hunter's Leather Leggings", | ||||
| 	inventory_image = "3d_armor_inv_leggings_leather_hunter.png", | ||||
| 	inventory_image = ":3d_armor_inv_leggings_leather_hunter.png", | ||||
| 	groups = {armor_legs = 15, armor_heal = 0, armor_use = 500}, 		--Valeurs non décidés | ||||
| 	wear = 0, | ||||
| }) | ||||
|  | ||||
| -- Register boots: | ||||
|  | ||||
| 	minetest.register_tool("3d_armor:boots_leather_hunter", { | ||||
| 	minetest.register_tool(":3d_armor:boots_leather_hunter", { | ||||
| 	description = "Hunter's Leather Boots", | ||||
| 	inventory_image = "3d_armor_inv_boots_leather_hunter.png", | ||||
| 	inventory_image = ":3d_armor_inv_boots_leather_hunter.png", | ||||
| 		groups = {armor_feet = 10, armor_heal = 0, armor_use = 500}, 	--Valeurs non décidés | ||||
| 	wear = 0, | ||||
| }) | ||||
|   | ||||
| @@ -0,0 +1 @@ | ||||
| -- We need an init.lua, even an empty one | ||||
							
								
								
									
										1
									
								
								mods/3d_armor_classes/obsidian_armor_wizard/init.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								mods/3d_armor_classes/obsidian_armor_wizard/init.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| -- We need an init.lua, even an empty one | ||||
| @@ -1,35 +1,35 @@ | ||||
| -- Register helmets: | ||||
|  | ||||
| minetest.register_tool("3d_armor:helmet_reinforced_leather_hunter", { | ||||
| minetest.register_tool(":3d_armor:helmet_reinforced_leather_hunter", { | ||||
| 	description = "Hunter's Reinforced Leather Helmet", | ||||
| 	inventory_image = "3d_armor_inv_helmet_reinforced_leather_hunter.png", | ||||
| 	inventory_image = ":3d_armor_inv_helmet_reinforced_leather_hunter.png", | ||||
| 	groups = {armor_head = 10, armor_heal = 0, armor_use = 500}, 		--Valeurs non décidés | ||||
| 	wear = 0, | ||||
| }) | ||||
|  | ||||
| -- Register chestplates: | ||||
|  | ||||
| minetest.register_tool("3d_armor:chestplate_reinforced_leather_hunter", { | ||||
| minetest.register_tool(":3d_armor:chestplate_reinforced_leather_hunter", { | ||||
| 	description = "Hunter's Reinforced Leather Chestplate", | ||||
| 	inventory_image = "3d_armor_inv_chestplate_reinforced_leather_hunter.png", | ||||
| 	inventory_image = ":3d_armor_inv_chestplate_reinforced_leather_hunter.png", | ||||
| 	groups = {armor_torso = 15, armor_heal = 0, armor_use = 500}, 		--Valeurs non décidés | ||||
| 	wear = 0, | ||||
| }) | ||||
|  | ||||
| -- Register leggings: | ||||
|  | ||||
| minetest.register_tool("3d_armor:leggings_reinforced_leather_hunter", { | ||||
| minetest.register_tool(":3d_armor:leggings_reinforced_leather_hunter", { | ||||
| 	description = "Hunter's Reinforced Leather Leggings", | ||||
| 	inventory_image = "3d_armor_inv_leggings_reinforced_leather_hunter.png", | ||||
| 	inventory_image = ":3d_armor_inv_leggings_reinforced_leather_hunter.png", | ||||
| 	groups = {armor_legs = 15, armor_heal = 0, armor_use = 500}, 		--Valeurs non décidés | ||||
| 	wear = 0, | ||||
| }) | ||||
|  | ||||
| -- Register boots: | ||||
|  | ||||
| 	minetest.register_tool("3d_armor:boots_reinforced_leather_hunter", { | ||||
| 	minetest.register_tool(":3d_armor:boots_reinforced_leather_hunter", { | ||||
| 	description = "Hunter's Reinforced Leather Boots", | ||||
| 	inventory_image = "3d_armor_inv_boots_reinforced_leather_hunter.png", | ||||
| 	inventory_image = ":3d_armor_inv_boots_reinforced_leather_hunter.png", | ||||
| 		groups = {armor_feet = 10, armor_heal = 0, armor_use = 500}, 	--Valeurs non décidés | ||||
| 	wear = 0, | ||||
| }) | ||||
|   | ||||
| @@ -1293,8 +1293,9 @@ function mobs:register_egg(mob, desc, background, addegg) | ||||
| 				local mob = minetest.add_entity(pos, mob) | ||||
| 				local ent = mob:get_luaentity() | ||||
| 				if ent.type ~= "monster" then | ||||
| 					ent.owner = placer:get_player_name() 	+ -- set owner | ||||
| 					ent.tamed = true 	+ ent.owner = placer:get_player_name() | ||||
| 					ent.owner = placer:get_player_name() | ||||
| 					ent.tamed = true | ||||
| 					ent.owner = placer:get_player_name() | ||||
| 					ent.tamed = true | ||||
| 				end | ||||
| 				itemstack:take_item() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user