added some more mods
|
@ -0,0 +1,2 @@
|
|||
default
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
--[[
|
||||
-- Mod fire flowers
|
||||
-- Author Bas080
|
||||
-- Copyright GNU GPL
|
||||
-- Version 1.2
|
||||
-- Feature Adds fireflowers at night which gives light.
|
||||
--]]
|
||||
|
||||
minetest.register_node("fire_flowers:fireflower", {
|
||||
tile_images = {"plants_fireflower.png"},
|
||||
inventory_image = "plants_fireflower.png",
|
||||
drawtype = 'plantlike',
|
||||
visual_scale = 0.7,
|
||||
sunlight_propagates = true,
|
||||
paramtype = 'light',
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
},
|
||||
walkable = false,
|
||||
light_source = 8,
|
||||
groups = {dig_immediate=3},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_abm(
|
||||
{nodenames = {"default:dirt_with_grass"},
|
||||
interval = 5,
|
||||
chance = 1000,
|
||||
action = function(pos)
|
||||
if (minetest.env:get_timeofday() < 0.5) then
|
||||
pos.y=pos.y+1
|
||||
minetest.env:add_node(pos, {name="fire_flowers:fireflower"})
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_abm(
|
||||
{nodenames = {"plants:fireflower"},
|
||||
interval = 1,
|
||||
chance = 1,
|
||||
action = function(pos)
|
||||
minetest.env:add_node(pos, {name="fire_flowers:fireflower"})
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_abm(
|
||||
{nodenames = {"fire_flowers:fireflower"},
|
||||
interval = 5,
|
||||
chance = 10,
|
||||
action = function(pos)
|
||||
if (minetest.env:get_timeofday() > 0.1) then
|
||||
minetest.env:remove_node(pos)
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
|
After Width: | Height: | Size: 332 B |
|
@ -0,0 +1,7 @@
|
|||
laser_mod
|
||||
=========
|
||||
|
||||
mod for minetest
|
||||
|
||||
|
||||
CC BY-NC-SA 3.0 http://creativecommons.org/licenses/by-nc-sa/3.0/it/deed.it
|
|
@ -0,0 +1 @@
|
|||
default
|
|
@ -0,0 +1,22 @@
|
|||
minetest.register_tool("laser_mod:laser_sword", {
|
||||
description = "Laser Sword",
|
||||
inventory_image = "laser_sword.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1.0,
|
||||
max_drop_level=3,
|
||||
groupcaps={
|
||||
cracky={times={[1]=1.0, [2]=0.5, [3]=0.5}, uses=30, maxlevel=3},
|
||||
crumbly={times={[1]=1.0, [2]=0.5, [3]=0.5}, uses=30, maxlevel=3},
|
||||
snappy={times={[1]=1.0, [2]=0.5, [3]=0.5}, uses=30, maxlevel=3}
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'laser_mod:laser_sword',
|
||||
recipe = {
|
||||
{'default:glass'},
|
||||
{'default:mese'},
|
||||
{'default:stick'},
|
||||
}
|
||||
})
|
After Width: | Height: | Size: 311 B |
|
@ -0,0 +1,2 @@
|
|||
minerals
|
||||
default
|
|
@ -0,0 +1,427 @@
|
|||
METALS_LIST={
|
||||
'bismuth',
|
||||
'pig_iron',
|
||||
'wrought_iron',
|
||||
'steel',
|
||||
'gold',
|
||||
'nickel',
|
||||
'platinum',
|
||||
'tin',
|
||||
'silver',
|
||||
'lead',
|
||||
'copper',
|
||||
'zinc',
|
||||
'brass',
|
||||
'sterling_silver',
|
||||
'rose_gold',
|
||||
'black_bronze',
|
||||
'bismuth_bronze',
|
||||
'bronze',
|
||||
'black_steel',
|
||||
}
|
||||
|
||||
DESC_LIST={
|
||||
'Bismuth',
|
||||
'Pig iron',
|
||||
'Wrought iron',
|
||||
'Steel',
|
||||
'Gold',
|
||||
'Nickel',
|
||||
'Platinum',
|
||||
'Tin',
|
||||
'Silver',
|
||||
'Lead',
|
||||
'Copper',
|
||||
'Zinc',
|
||||
'Brass',
|
||||
'Sterling silver',
|
||||
'Rose gold',
|
||||
'Black bronze',
|
||||
'Bismuth bronze',
|
||||
'Bronze',
|
||||
'Black steel',
|
||||
}
|
||||
|
||||
for i=1, #METALS_LIST do
|
||||
minetest.register_craftitem("metals:"..METALS_LIST[i].."_unshaped", {
|
||||
description = "Unshaped "..DESC_LIST[i],
|
||||
inventory_image = "metals_"..METALS_LIST[i].."_unshaped.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("metals:"..METALS_LIST[i].."_ingot", {
|
||||
description = DESC_LIST[i].." ingot",
|
||||
inventory_image = "metals_"..METALS_LIST[i].."_ingot.png",
|
||||
})
|
||||
|
||||
minetest.register_node("metals:"..METALS_LIST[i].."_block", {
|
||||
description = DESC_LIST[i].." block",
|
||||
tiles = {"metals_"..METALS_LIST[i].."_block.png"},
|
||||
is_ground_content = true,
|
||||
groups = {snappy=1,bendy=2,cracky=1,melty=2,level=2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:"..METALS_LIST[i].."_block",
|
||||
recipe = {
|
||||
{"metals:"..METALS_LIST[i].."_ingot", "metals:"..METALS_LIST[i].."_ingot"},
|
||||
{"metals:"..METALS_LIST[i].."_ingot", "metals:"..METALS_LIST[i].."_ingot"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:"..METALS_LIST[i].."_ingot 4",
|
||||
recipe = {
|
||||
{"metals:"..METALS_LIST[i].."_block"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_tool("metals:tool_pick_"..METALS_LIST[i], {
|
||||
description = DESC_LIST[i].." pickaxe",
|
||||
inventory_image = "metals_tool_pick_"..METALS_LIST[i]..".png",
|
||||
tool_capabilities = {
|
||||
max_drop_level=1,
|
||||
groupcaps={
|
||||
cracky={times={[1]=4.00, [2]=1.60, [3]=1.00}, uses=30, maxlevel=2}
|
||||
}
|
||||
},
|
||||
})
|
||||
minetest.register_tool("metals:tool_shovel_"..METALS_LIST[i], {
|
||||
description = DESC_LIST[i].." hovel",
|
||||
inventory_image = "metals_tool_shovel_"..METALS_LIST[i]..".png",
|
||||
tool_capabilities = {
|
||||
max_drop_level=1,
|
||||
groupcaps={
|
||||
crumbly={times={[1]=1.50, [2]=0.70, [3]=0.60}, uses=30, maxlevel=2}
|
||||
}
|
||||
},
|
||||
})
|
||||
minetest.register_tool("metals:tool_axe_"..METALS_LIST[i], {
|
||||
description = DESC_LIST[i].." axe",
|
||||
inventory_image = "metals_tool_axe_"..METALS_LIST[i]..".png",
|
||||
tool_capabilities = {
|
||||
max_drop_level=1,
|
||||
groupcaps={
|
||||
choppy={times={[1]=3.00, [2]=1.60, [3]=1.00}, uses=30, maxlevel=2},
|
||||
fleshy={times={[2]=1.10, [3]=0.60}, uses=40, maxlevel=1}
|
||||
}
|
||||
},
|
||||
})
|
||||
minetest.register_tool("metals:tool_sword_"..METALS_LIST[i], {
|
||||
description = DESC_LIST[i].." sword",
|
||||
inventory_image = "metals_tool_sword_"..METALS_LIST[i]..".png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1.0,
|
||||
max_drop_level=1,
|
||||
groupcaps={
|
||||
fleshy={times={[1]=2.00, [2]=0.80, [3]=0.40}, uses=10, maxlevel=2},
|
||||
snappy={times={[2]=0.70, [3]=0.30}, uses=40, maxlevel=1},
|
||||
choppy={times={[3]=0.70}, uses=40, maxlevel=0}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:tool_pick_"..METALS_LIST[i],
|
||||
recipe = {
|
||||
{"metals:"..METALS_LIST[i].."_ingot"},
|
||||
{"metals:recipe_pick"},
|
||||
{"default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:tool_axe_"..METALS_LIST[i],
|
||||
recipe = {
|
||||
{"metals:"..METALS_LIST[i].."_ingot"},
|
||||
{"metals:recipe_axe"},
|
||||
{"default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:tool_shovel_"..METALS_LIST[i],
|
||||
recipe = {
|
||||
{"metals:"..METALS_LIST[i].."_ingot"},
|
||||
{"metals:recipe_shovel"},
|
||||
{"default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:tool_sword_"..METALS_LIST[i],
|
||||
recipe = {
|
||||
{"metals:"..METALS_LIST[i].."_ingot"},
|
||||
{"metals:recipe_sword"},
|
||||
{"default:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craftitem("metals:ceramic_mold_"..METALS_LIST[i], {
|
||||
description = "Ceramic mold with "..DESC_LIST[i],
|
||||
inventory_image = "metals_ceramic_mold.png^metals_"..METALS_LIST[i].."_ingot.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:ceramic_mold_"..METALS_LIST[i],
|
||||
recipe = {
|
||||
{"metals:"..METALS_LIST[i].."_ingot"},
|
||||
{"metals:ceramic_mold"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "metals:"..METALS_LIST[i].."_unshaped",
|
||||
recipe = "metals:ceramic_mold_"..METALS_LIST[i],
|
||||
} )
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:"..METALS_LIST[i].."_ingot",
|
||||
recipe = {
|
||||
{"metals:"..METALS_LIST[i].."_unshaped"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'bucket:bucket_empty',
|
||||
recipe = {
|
||||
{"metals:"..METALS_LIST[i].."_ingot", '', "metals:"..METALS_LIST[i].."_ingot"},
|
||||
{'', "metals:"..METALS_LIST[i].."_ingot", ''},
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craftitem("metals:clay_mold", {
|
||||
description = "Clay mold",
|
||||
inventory_image = "metals_clay_mold.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("metals:ceramic_mold", {
|
||||
description = "Ceramic mold",
|
||||
inventory_image = "metals_ceramic_mold.png",
|
||||
})
|
||||
|
||||
-------------------------------------------------
|
||||
|
||||
MINERALS_LIST={
|
||||
'magnetite',
|
||||
'hematite',
|
||||
'limonite',
|
||||
'bismuthinite',
|
||||
'cassiterite',
|
||||
'galena',
|
||||
'malachite',
|
||||
'native_copper',
|
||||
'native_gold',
|
||||
'native_platinum',
|
||||
'native_silver',
|
||||
'sphalerite',
|
||||
'tetrahedrite',
|
||||
'garnierite',
|
||||
}
|
||||
|
||||
MINERALS_METALS_LIST={
|
||||
'pig_iron',
|
||||
'pig_iron',
|
||||
'pig_iron',
|
||||
'bismuth',
|
||||
'tin',
|
||||
'lead',
|
||||
'copper',
|
||||
'copper',
|
||||
'gold',
|
||||
'platinum',
|
||||
'silver',
|
||||
'zinc',
|
||||
'copper',
|
||||
'nickel',
|
||||
}
|
||||
|
||||
for i=1, #MINERALS_LIST do
|
||||
minetest.register_craftitem("metals:ceramic_mold_"..MINERALS_LIST[i], {
|
||||
description = "Ceramic mold with "..MINERALS_LIST[i],
|
||||
inventory_image = "metals_ceramic_mold_"..MINERALS_LIST[i]..".png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:ceramic_mold_"..MINERALS_LIST[i],
|
||||
recipe = {
|
||||
{"minerals:"..MINERALS_LIST[i]},
|
||||
{"metals:ceramic_mold"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "metals:"..MINERALS_METALS_LIST[i].."_unshaped",
|
||||
recipe = "metals:ceramic_mold_"..MINERALS_LIST[i],
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craftitem("metals:recipe_pick", {
|
||||
description = "Pick's recipe",
|
||||
inventory_image = "metals_recipe.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("metals:recipe_axe", {
|
||||
description = "Axe's recipe",
|
||||
inventory_image = "metals_recipe.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("metals:recipe_shovel", {
|
||||
description = "Shovel's recipe",
|
||||
inventory_image = "metals_recipe.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("metals:recipe_sword", {
|
||||
description = "Sword's recipe",
|
||||
inventory_image = "metals_recipe.png",
|
||||
})
|
||||
|
||||
DYE_LIST={
|
||||
'white',
|
||||
'red',
|
||||
'green',
|
||||
'lime',
|
||||
'violet',
|
||||
'yellow',
|
||||
'orange',
|
||||
'black',
|
||||
'brown',
|
||||
'purple',
|
||||
'gray',
|
||||
'light_gray',
|
||||
'pink',
|
||||
'blue',
|
||||
'cyan',
|
||||
'light_blue',
|
||||
'light_brown',
|
||||
'biruza',
|
||||
}
|
||||
|
||||
for i=1, #DYE_LIST do
|
||||
minetest.register_craft({
|
||||
output = "metals:recipe_pick",
|
||||
recipe = {
|
||||
{"dye:"..DYE_LIST[i], "dye:"..DYE_LIST[i], "dye:"..DYE_LIST[i]},
|
||||
{"", "", ""},
|
||||
{"default:paper", "", ""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:recipe_axe",
|
||||
recipe = {
|
||||
{"dye:"..DYE_LIST[i], "dye:"..DYE_LIST[i]},
|
||||
{"dye:"..DYE_LIST[i], ""},
|
||||
{"default:paper", ""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:recipe_shovel",
|
||||
recipe = {
|
||||
{"dye:"..DYE_LIST[i]},
|
||||
{""},
|
||||
{"default:paper"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:recipe_sword",
|
||||
recipe = {
|
||||
{"dye:"..DYE_LIST[i]},
|
||||
{"dye:"..DYE_LIST[i]},
|
||||
{"default:paper"},
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:clay_mold",
|
||||
recipe = {
|
||||
{"default:clay_lump", "", "default:clay_lump"},
|
||||
{"default:clay_lump", "default:clay_lump", "default:clay_lump"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "metals:ceramic_mold",
|
||||
recipe = "metals:clay_mold",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:wrought_iron_ingot",
|
||||
recipe = {
|
||||
{"metals:pig_iron_ingot"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:steel_unshaped 4",
|
||||
recipe = {
|
||||
{"metals:wrought_iron_unshaped", "metals:wrought_iron_unshaped", "metals:wrought_iron_unshaped"},
|
||||
{"", "metals:pig_iron_unshaped", ""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:brass_unshaped 4",
|
||||
recipe = {
|
||||
{"metals:copper_unshaped", "metals:copper_unshaped", "metals:copper_unshaped"},
|
||||
{"","metals:zinc_unshaped",""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:sterling_silver_unshaped 4",
|
||||
recipe = {
|
||||
{"metals:silver_unshaped", "metals:silver_unshaped", "metals:silver_unshaped"},
|
||||
{"", "metals:copper_unshaped", ""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:rose_gold_unshaped 4",
|
||||
recipe = {
|
||||
{"metals:gold_unshaped", "metals:gold_unshaped", "metals:gold_unshaped"},
|
||||
{"", "metals:brass_unshaped", ""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:black_bronze_unshaped 4",
|
||||
recipe = {
|
||||
{"metals:copper_unshaped", "metals:copper_unshaped"},
|
||||
{"metals:gold_unshaped", ""},
|
||||
{"metals:silver_unshaped", ""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:bismuth_bronze_unshaped 4",
|
||||
recipe = {
|
||||
{"metals:copper_unshaped", "metals:copper_unshaped"},
|
||||
{"metals:bismuth_unshaped", ""},
|
||||
{"metals:tin_unshaped", ""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:bronze_unshaped 4",
|
||||
recipe = {
|
||||
{"metals:copper_unshaped", "metals:copper_unshaped", "metals:copper_unshaped"},
|
||||
{"", "metals:tin_unshaped", ""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "metals:black_steel_unshaped 4",
|
||||
recipe = {
|
||||
{"metals:steel_unshaped", "metals:steel_unshaped"},
|
||||
{"metals:nickel_unshaped", ""},
|
||||
{"metals:black_bronze_unshaped", ""},
|
||||
}
|
||||
})
|
|
@ -0,0 +1,3 @@
|
|||
[Dolphin]
|
||||
PreviewsShown=true
|
||||
Timestamp=2012,7,30,16,22,5
|
After Width: | Height: | Size: 430 B |
After Width: | Height: | Size: 431 B |
After Width: | Height: | Size: 647 B |
After Width: | Height: | Size: 687 B |
After Width: | Height: | Size: 632 B |
After Width: | Height: | Size: 690 B |
After Width: | Height: | Size: 385 B |
After Width: | Height: | Size: 597 B |
After Width: | Height: | Size: 669 B |
After Width: | Height: | Size: 352 B |
After Width: | Height: | Size: 588 B |
After Width: | Height: | Size: 688 B |
After Width: | Height: | Size: 464 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 708 B |
After Width: | Height: | Size: 470 B |
After Width: | Height: | Size: 646 B |
After Width: | Height: | Size: 699 B |
After Width: | Height: | Size: 420 B |
After Width: | Height: | Size: 622 B |
After Width: | Height: | Size: 680 B |
After Width: | Height: | Size: 661 B |
After Width: | Height: | Size: 664 B |
After Width: | Height: | Size: 692 B |
After Width: | Height: | Size: 651 B |
After Width: | Height: | Size: 656 B |
After Width: | Height: | Size: 685 B |
After Width: | Height: | Size: 692 B |
After Width: | Height: | Size: 696 B |
After Width: | Height: | Size: 688 B |
After Width: | Height: | Size: 657 B |
After Width: | Height: | Size: 638 B |
After Width: | Height: | Size: 734 B |
After Width: | Height: | Size: 643 B |
After Width: | Height: | Size: 447 B |
After Width: | Height: | Size: 469 B |
After Width: | Height: | Size: 575 B |
After Width: | Height: | Size: 691 B |
After Width: | Height: | Size: 366 B |
After Width: | Height: | Size: 583 B |
After Width: | Height: | Size: 691 B |
After Width: | Height: | Size: 410 B |
After Width: | Height: | Size: 630 B |
After Width: | Height: | Size: 668 B |
After Width: | Height: | Size: 414 B |
After Width: | Height: | Size: 566 B |
After Width: | Height: | Size: 687 B |
After Width: | Height: | Size: 375 B |
After Width: | Height: | Size: 595 B |
After Width: | Height: | Size: 671 B |
After Width: | Height: | Size: 442 B |
After Width: | Height: | Size: 643 B |
After Width: | Height: | Size: 674 B |
After Width: | Height: | Size: 458 B |
After Width: | Height: | Size: 444 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 714 B |
After Width: | Height: | Size: 378 B |
After Width: | Height: | Size: 612 B |
After Width: | Height: | Size: 676 B |
After Width: | Height: | Size: 431 B |
After Width: | Height: | Size: 630 B |
After Width: | Height: | Size: 690 B |
After Width: | Height: | Size: 468 B |
After Width: | Height: | Size: 660 B |
After Width: | Height: | Size: 692 B |
After Width: | Height: | Size: 371 B |
After Width: | Height: | Size: 443 B |
After Width: | Height: | Size: 641 B |
After Width: | Height: | Size: 405 B |
After Width: | Height: | Size: 335 B |
After Width: | Height: | Size: 330 B |
After Width: | Height: | Size: 328 B |
After Width: | Height: | Size: 343 B |
After Width: | Height: | Size: 343 B |
After Width: | Height: | Size: 344 B |
After Width: | Height: | Size: 329 B |
After Width: | Height: | Size: 340 B |
After Width: | Height: | Size: 341 B |
After Width: | Height: | Size: 343 B |
After Width: | Height: | Size: 381 B |
After Width: | Height: | Size: 343 B |
After Width: | Height: | Size: 332 B |
After Width: | Height: | Size: 335 B |
After Width: | Height: | Size: 343 B |
After Width: | Height: | Size: 344 B |
After Width: | Height: | Size: 333 B |
After Width: | Height: | Size: 378 B |
After Width: | Height: | Size: 461 B |
After Width: | Height: | Size: 421 B |