add ruby
This commit is contained in:
parent
cf2f56d908
commit
9585e8e19c
|
@ -50,7 +50,13 @@ for i = 1, #list_all_crops, 1 do
|
|||
if pointed_thing.type =="node" then
|
||||
local node_chek = minetest.get_node(pointed_thing.under)
|
||||
if node_chek.name=="mcl_farming:soil" or node_chek.name=="mcl_farming:soil_wet" then
|
||||
if itemstack:get_count()>1 then
|
||||
itemstack:set_count(itemstack:get_count()-1)
|
||||
else
|
||||
itemstack:clear()
|
||||
end
|
||||
minetest.set_node({x=pointed_thing.under.x,y=pointed_thing.under.y+1,z=pointed_thing.under.z},{name="owl_tech:plant_"..list_all_crops[i][1]..1})
|
||||
return itemstack
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -82,9 +88,6 @@ for i = 1, #list_all_crops, 1 do
|
|||
dig_by_water=1,destroy_by_lava_flow=1, dig_by_piston=1},
|
||||
sounds = mcl_sounds.node_sound_leaves_defaults(),
|
||||
_mcl_blast_resistance = 0,
|
||||
on_timer = function(pos, elapsed)
|
||||
minetest.chat_send_all("its me!")
|
||||
end
|
||||
})
|
||||
end
|
||||
|
||||
|
|
|
@ -685,8 +685,10 @@ local gems_orew_array={
|
|||
{"coal","Coal ",true,1,"#1b1b1b","owl_tech_gem_1.png","owl_tech_gem_block_1.png","owl_tech_dust_block_1.png",80},
|
||||
{"sulfur","Sulfur ",true,1,"#c2a800","owl_tech_gem_1.png","owl_tech_gem_block_1.png","owl_tech_dust_block_1.png",0},
|
||||
{"saltpeter","Saltpeter ",true,1,"#b3e6ee","owl_tech_gem_1.png","owl_tech_gem_block_1.png","owl_tech_dust_block_1.png",0},
|
||||
{"diamond","Diamond ",true,3,"#77cefb","owl_tech_gem_2.png","owl_tech_gem_block_2.png","owl_tech_dust_block_1.png",0},
|
||||
{"diamond","Diamond ",true,3,"#d40000","owl_tech_gem_2.png","owl_tech_gem_block_2.png","owl_tech_dust_block_1.png",0},
|
||||
{"ruby","Ruby ",true,3,"#77cefb","owl_tech_gem_2.png","owl_tech_gem_block_2.png","owl_tech_dust_block_1.png",0},--
|
||||
{"raw_ruber","Raw Ruber ",false,1,"#dace00","owl_tech_gem_3.png","owl_tech_gem_block_3.png","owl_tech_dust_block_1.png",0},
|
||||
{"ruber","Ruber ",false,1,"#171717","default_steel_ingot.png","default_steel_block.png","owl_tech_dust_block_1.png",0},
|
||||
}
|
||||
for i, value in ipairs(gems_orew_array) do
|
||||
--ore
|
||||
|
@ -804,18 +806,25 @@ minetest.register_craft({
|
|||
})
|
||||
--MC2 ingots in Owl_tech
|
||||
--Crutch - remake how the idea will be better!!!!
|
||||
minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "owl_tech:gold_ingot",
|
||||
recipe = "mcl_core:gold_ingot",
|
||||
cooktime = 10,
|
||||
})
|
||||
minetest.register_craft({
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "owl_tech:iron_ingot",
|
||||
recipe = "mcl_core:iron_ingot",
|
||||
cooktime = 10,
|
||||
})
|
||||
})
|
||||
--Burn raw ruber in ruber
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "owl_tech:ruber",
|
||||
recipe = "mcl_core:raw_ruber",
|
||||
cooktime = 10,
|
||||
})
|
||||
----------------------------------------------------------------------------------------
|
||||
--Flint tools
|
||||
--pick "mcl_core:flint"
|
||||
|
|
|
@ -330,3 +330,47 @@ minetest.register_ore({
|
|||
random_factor = 1.0,
|
||||
})
|
||||
--------------------------------------
|
||||
--------------------------------- diamond
|
||||
minetest.register_ore({
|
||||
ore_type = "vein",
|
||||
ore = "owl_tech:diamond_ore",
|
||||
wherein = stonelike,
|
||||
clust_scarcity = 4*4*4,
|
||||
clust_num_ores = 2048,
|
||||
clust_size = 3,
|
||||
y_min = -31000,
|
||||
y_max = 31000,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
scale = 3,
|
||||
spread = {x=75, y=75, z=75},
|
||||
seed = 123645567789,
|
||||
octaves = 3,
|
||||
persistence = 0,1,
|
||||
lacunarity = 4,
|
||||
},
|
||||
noise_threshold = 1.6,
|
||||
random_factor = 1.0,
|
||||
})
|
||||
minetest.register_ore({
|
||||
ore_type = "vein",
|
||||
ore = "owl_tech:coal_ore",
|
||||
wherein = stonelike,
|
||||
clust_scarcity = 4*4*4,
|
||||
clust_num_ores = 2048,
|
||||
clust_size = 3,
|
||||
y_min = -31000,
|
||||
y_max = 31000,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
scale = 3,
|
||||
spread = {x=75, y=75, z=75},
|
||||
seed = 123645567789,
|
||||
octaves = 3,
|
||||
persistence = 0,1,
|
||||
lacunarity = 4,
|
||||
},
|
||||
noise_threshold = 1.6 ,
|
||||
random_factor = 1.0,
|
||||
})
|
||||
--------------------------------------
|
Loading…
Reference in New Issue