123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297 |
- ---------mob drops----------------
- minetest.register_craftitem('minerdream:slimeball_green', {
- description = "Green ball of slime",
- inventory_image = "minerdream_slimeball_green.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:slimeball_blue', {
- description = "Blue ball of slime",
- inventory_image = "minerdream_slimeball_blue.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:slimeball_red', {
- description = "Red ball of slime",
- inventory_image = "minerdream_slimeball_red.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:slimeball_yellow', {
- description = "Yellow ball of slime",
- inventory_image = "minerdream_slimeball_yellow.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:slimeball_purple', {
- description = "Purple ball of slime",
- inventory_image = "minerdream_slimeball_purple.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:slimeball_brown', {
- description = "Brown ball of slime",
- inventory_image = "minerdream_slimeball_brown.png",
- stack_max= 1000,
- })
- ---------------------materials---------------
- minetest.register_craftitem('minerdream:expensivestick', {
- description = "Expensive stick",
- inventory_image = "minerdream_expensivestick.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:steelstick', {
- description = "Stainless steel stick",
- inventory_image = "minerdream_steelstick.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:sulfur_powder', {
- description = "Sulfur powder",
- inventory_image = "minerdream_sulfur_powder.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:saltpeter_powder', {
- description = "Saltpeter powder",
- inventory_image = "minerdream_saltpeter_powder.png",
- stack_max= 1000,
- })
- -----------------ores----------------
- minetest.register_craftitem('minerdream:brass_nugget', {
- description = "".. core.colorize("#FFFFFF", "brass nugget\n")..core.colorize("#A0A0A0", "4 of those, can be combined into a bar"),
- inventory_image = "minerdream_brass_nugget.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:gold_nugget', {
- description = "".. core.colorize("#FFFFFF", "Raw gold nugget\n")..core.colorize("#A0A0A0", "4 of those, can be combined into a lump"),
- inventory_image = "minerdream_gold_nugget.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:rhodium_lump', {
- description = "".. core.colorize("#00FF00", "Rhodium lump\n")..core.colorize("#A0A0A0", "tier: 6 (epic)"),
- inventory_image = "minerdream_rhodium_lump.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:tantalum_lump', {
- description = "".. core.colorize("#00FF00", "Tantalum lump\n")..core.colorize("#A0A0A0", "tier: 6 (epic)"),
- inventory_image = "minerdream_tantalum_lump.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:bituminous_coal', {
- description = "".. core.colorize("#0040FF", "Bituminous coal lump\n")..core.colorize("#A0A0A0", "tier: 5 (extra rare)"),
- inventory_image = "minerdream_bituminous_coal.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:ruthenium_lump', {
- description = "".. core.colorize("#0040FF", "Ruthenium lump\n")..core.colorize("#A0A0A0", "tier: 5 (extra rare)"),
- inventory_image = "minerdream_ruthenium_lump.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:cobalt_lump', {
- description = "".. core.colorize("#0040FF", "Cobalt lump\n")..core.colorize("#A0A0A0", "tier: 5 (extra rare)"),
- inventory_image = "minerdream_cobalt_lump.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:platinum_lump', {
- description = "".. core.colorize("#40FF80", "Platinum lump\n")..core.colorize("#A0A0A0", "tier: 4 (rare)"),
- inventory_image = "minerdream_platinum_lump.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:aluminum_lump', {
- description = "".. core.colorize("#40FF80", "Aluminum lump\n")..core.colorize("#A0A0A0", "tier: 4 (rare)"),
- inventory_image = "minerdream_aluminum_lump.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:lead_lump', {
- description = "".. core.colorize("#00FFFF", "lead lump\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)"),
- inventory_image = "minerdream_lead_lump.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:lapislazuli_lump', {
- description = "".. core.colorize("#BFFFFF", "Lapis lazuli lump\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
- inventory_image = "minerdream_lapislazuli_lump.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:sulfur_lump', {
- description = "".. core.colorize("#BFFFFF", "Sulfur lump\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
- inventory_image = "minerdream_sulfur_lump.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:saltpeter_lump', {
- description = "".. core.colorize("#BFFFFF", "Saltpeter lump\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
- inventory_image = "minerdream_saltpeter_lump.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:zinc_lump', {
- description = "".. core.colorize("#BFFFFF", "zinc lump\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
- inventory_image = "minerdream_zinc_lump.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:silver_lump', {
- description = "".. core.colorize("#00FFFF", "Silver lump\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)"),
- inventory_image = "minerdream_silver_lump.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:calcium_lump', {
- description = "".. core.colorize("#FFFFFF", "Calcium lump\n")..core.colorize("#A0A0A0", "tier: 1 (common)"),
- inventory_image = "minerdream_calcium_lump.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:potassium_lump', {
- description = "".. core.colorize("#FFFFFF", "Potassium lump\n")..core.colorize("#A0A0A0", "tier: 1 (common)"),
- inventory_image = "minerdream_potassium_lump.png",
- stack_max= 1000,
- })
- minetest.register_craftitem('minerdream:nickel_lump', {
- description = "".. core.colorize("#BFFFFF", "Nickel lump\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
- inventory_image = "minerdream_nickel_lump.png",
- stack_max= 1000,
- })
- ---------------refined goods-----------------
- minetest.register_craftitem('minerdream:rhodium_bar', {
- description = "".. core.colorize("#00FF00", "Rhodium bar\n")..core.colorize("#A0A0A0", "tier: 6 (epic)"),
- inventory_image = "minerdream_rhodium_bar.png",
- stack_max= 250,
- })
- minetest.register_craftitem('minerdream:tantalum_bar', {
- description = "".. core.colorize("#00FF00", "Tantalum bar\n")..core.colorize("#A0A0A0", "tier: 6 (epic)"),
- inventory_image = "minerdream_tantalum_bar.png",
- stack_max= 250,
- })
- minetest.register_craftitem('minerdream:ruthenium_bar', {
- description = "".. core.colorize("#0040FF", "Ruthenium bar\n")..core.colorize("#A0A0A0", "tier: 5 (extra rare)"),
- inventory_image = "minerdream_ruthenium_bar.png",
- stack_max= 250,
- })
- minetest.register_craftitem('minerdream:cobalt_bar', {
- description = "".. core.colorize("#0040FF", "Cobalt bar\n")..core.colorize("#A0A0A0", "tier: 5 (extra rare)"),
- inventory_image = "minerdream_cobalt_bar.png",
- stack_max= 250,
- })
- minetest.register_craftitem('minerdream:platinum_bar', {
- description = "".. core.colorize("#40FF80", "Platinum bar\n")..core.colorize("#A0A0A0", "tier: 4 (rare)"),
- inventory_image = "minerdream_platinum_bar.png",
- stack_max= 250,
- })
- minetest.register_craftitem('minerdream:aluminum_bar', {
- description = "".. core.colorize("#40FF80", "Aluminum bar\n")..core.colorize("#A0A0A0", "tier: 4 (rare)"),
- inventory_image = "minerdream_aluminum_bar.png",
- stack_max= 250,
- })
- minetest.register_craftitem('minerdream:stainlesssteel_bar', {
- description = "".. core.colorize("#BFFFFF", "Stainless steel bar\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
- inventory_image = "minerdream_stainlesssteel_bar.png",
- stack_max= 250,
- })
- minetest.register_craftitem('minerdream:brass_bar', {
- description = "".. core.colorize("#BFFFFF", "brass bar\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
- inventory_image = "minerdream_brass_bar.png",
- stack_max= 250,
- })
- minetest.register_craftitem('minerdream:zinc_bar', {
- description = "".. core.colorize("#BFFFFF", "zinc bar\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
- inventory_image = "minerdream_zinc_bar.png",
- stack_max= 250,
- })
- minetest.register_craftitem('minerdream:lead_bar', {
- description = "".. core.colorize("#00FFFF", "lead bar\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)"),
- inventory_image = "minerdream_lead_bar.png",
- stack_max= 250,
- })
- minetest.register_craftitem('minerdream:calcium_bar', {
- description = "".. core.colorize("#FFFFFF", "Calcium bar\n")..core.colorize("#A0A0A0", "tier: 1 (common)"),
- inventory_image = "minerdream_calcium_bar.png",
- stack_max= 250,
- })
- minetest.register_craftitem('minerdream:potassium_bar', {
- description = "".. core.colorize("#FFFFFF", "Potassium bar\n")..core.colorize("#A0A0A0", "tier: 1 (common)"),
- inventory_image = "minerdream_potassium_bar.png",
- stack_max= 250,
- })
- minetest.register_craftitem('minerdream:nickel_bar', {
- description = "".. core.colorize("#BFFFFF", "Nickel bar\n")..core.colorize("#A0A0A0", "tier: 2 (uncommon)"),
- inventory_image = "minerdream_nickel_bar.png",
- stack_max= 250,
- })
- minetest.register_craftitem('minerdream:silver_bar', {
- description = "".. core.colorize("#00FFFF", "Silver bar\n")..core.colorize("#A0A0A0", "tier: 3 (almost rare)"),
- inventory_image = "minerdream_silver_bar.png",
- stack_max= 250,
- })
- ------------------consumables----------------
- minetest.register_craftitem("minerdream:vitamin", {
- description = "".. core.colorize("#FFFFFF", "Vitamin pill\n")..core.colorize("#A0A0A0", "Consumable\n")..core.colorize("#A0A0A0", "Restores 3 hp"),
- wield_scale = {x=0.25,y=0.25,z=0.5},
- inventory_image = "minerdream_pill.png",
- on_use = minetest.item_eat(3),
- })
- minetest.register_craftitem("minerdream:potion_tiny", {
- description = "".. core.colorize("#FFFFFF", "Tiny healing potion\n")..core.colorize("#A0A0A0", "Consumable\n")..core.colorize("#A0A0A0", "Restores 5 hp"),
- wield_scale = {x=0.75,y=0.75,z=0.75},
- inventory_image = "minerdream_potion_tiny.png",
- on_use = minetest.item_eat(5),
- })
- minetest.register_craftitem("minerdream:potion_lesser", {
- description = "".. core.colorize("#FFFFFF", "Lesser healing potion\n")..core.colorize("#A0A0A0", "Consumable\n")..core.colorize("#A0A0A0", "Restores 10 hp"),
- wield_scale = {x=0.75,y=0.75,z=0.75},
- inventory_image = "minerdream_potion_lesser.png",
- on_use = minetest.item_eat(10),
- })
- minetest.register_craftitem("minerdream:potion_normal", {
- description = "".. core.colorize("#FFFFFF", " Healing potion\n")..core.colorize("#A0A0A0", "Consumable\n")..core.colorize("#A0A0A0", "Restores 15 hp"),
- wield_scale = {x=0.75,y=0.75,z=0.75},
- inventory_image = "minerdream_potion_normal.png",
- on_use = minetest.item_eat(15),
- })
- minetest.register_craftitem("minerdream:potion_greater", {
- description = "".. core.colorize("#FFFFFF", "Greater healing potion\n")..core.colorize("#A0A0A0", "Consumable\n")..core.colorize("#A0A0A0", "Restores 20 hp"),
- wield_scale = {x=0.75,y=0.75,z=0.75},
- inventory_image = "minerdream_potion_greater.png",
- on_use = minetest.item_eat(20),
- })
|