forked from mtcontrib/mobs_monster
		
	Added 11 lucky blocks
This commit is contained in:
		| @@ -1,3 +1,4 @@ | |||||||
| default | default | ||||||
| mobs | mobs | ||||||
| intllib? | intllib? | ||||||
|  | lucky_block? | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.lua
									
									
									
									
									
								
							| @@ -22,4 +22,6 @@ dofile(path .. "/lava_flan.lua") -- Zeg9 | |||||||
| dofile(path .. "/mese_monster.lua") | dofile(path .. "/mese_monster.lua") | ||||||
| dofile(path .. "/spider.lua") -- AspireMint | dofile(path .. "/spider.lua") -- AspireMint | ||||||
|  |  | ||||||
|  | dofile(path .. "/lucky_block.lua") | ||||||
|  |  | ||||||
| print ("[MOD] Mobs Redo 'Monsters' loaded") | print ("[MOD] Mobs Redo 'Monsters' loaded") | ||||||
|   | |||||||
							
								
								
									
										19
									
								
								lucky_block.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								lucky_block.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | |||||||
|  |  | ||||||
|  | if minetest.get_modpath("lucky_block") then | ||||||
|  |  | ||||||
|  | 	lucky_block:add_blocks({ | ||||||
|  | 		{"spw", "mobs:dungeon_master", 1, nil, nil, 3, "Billy"}, | ||||||
|  | 		{"spw", "mobs:sand_monster", 3}, | ||||||
|  | 		{"spw", "mobs:stone_monster", 3, nil, nil, 3, "Bob"}, | ||||||
|  | 		{"spw", "mobs:dirt_monster", 3}, | ||||||
|  | 		{"spw", "mobs:tree_monster", 3}, | ||||||
|  | 		{"spw", "mobs:oerkki", 3}, | ||||||
|  | 		{"exp"}, | ||||||
|  | 		{"spw", "mobs:spider", 5}, | ||||||
|  | 		{"spw", "mobs:mese_monster", 2}, | ||||||
|  | 		{"spw", "mobs:lava_flan", 3}, | ||||||
|  | 		{"nod", "default:chest", 0, { | ||||||
|  | 			{name = "mobs:lava_orb", max = 1}}}, | ||||||
|  | 	}) | ||||||
|  |  | ||||||
|  | end | ||||||
| @@ -36,3 +36,5 @@ Stone Monster | |||||||
| Tree Monster | Tree Monster | ||||||
|  |  | ||||||
| - Found atop tree's at night time they drop down and look for food in the form of players and animals. Can drop saplings and sometimes an apple or three. | - Found atop tree's at night time they drop down and look for food in the form of players and animals. Can drop saplings and sometimes an apple or three. | ||||||
|  |  | ||||||
|  | Lucky Blocks: 11 | ||||||
|   | |||||||
| @@ -89,7 +89,7 @@ minetest.register_node(":mobs:cobweb", { | |||||||
| 	liquid_renewable = false, | 	liquid_renewable = false, | ||||||
| 	liquid_range = 0, | 	liquid_range = 0, | ||||||
| 	walkable = false, | 	walkable = false, | ||||||
| 	groups = {snappy = 1}, | 	groups = {snappy = 1, disable_jump = 1}, | ||||||
| 	drop = "farming:cotton", | 	drop = "farming:cotton", | ||||||
| 	sounds = default.node_sound_leaves_defaults(), | 	sounds = default.node_sound_leaves_defaults(), | ||||||
| }) | }) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user