mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-08 19:40:21 +01:00
b0871dfe0f
- game.conf (MAJ OK) - default/boat/ (MAJ OK) - craftitems.lua (MAJ OK) - furnace.lua (not tweaked because it’s a total rewrite from minetest_game) - init.lua (petites modifs et remise du son/texte à la connexion de nouveaux joueurs) - player.lua (reprise des modifs de carbone sur l’animation du personnage) - tools.lua (on remet l’ancien) - default/doors (MAJ OK, crafts modifiés) - default/dye (MAJ OK) - default/fire (MAJ OK) - default/stairs (MAJ OK) Mg, c’est à faire : - default/textures/ (j’ai fait une bêtise, faut remettre les textures grass/grass_side du minetest_game, et le water/water animated de carbone)
116 lines
3.1 KiB
Lua
116 lines
3.1 KiB
Lua
-- mods/default/craftitems.lua
|
|
|
|
minetest.register_craftitem("default:stick", {
|
|
description = "Stick",
|
|
stack_max = 1000,
|
|
inventory_image = "default_stick.png",
|
|
wield_image = "default_stick.png^[transformR90",
|
|
groups = {stick = 1},
|
|
})
|
|
|
|
minetest.register_craftitem("default:paper", {
|
|
description = "Paper",
|
|
wield_scale = {x = 1, y = 1, z = 0.25},
|
|
inventory_image = "default_paper.png",
|
|
})
|
|
|
|
minetest.register_craftitem("default:book", {
|
|
description = "Book",
|
|
inventory_image = "default_book.png",
|
|
groups = {book=1},
|
|
})
|
|
|
|
minetest.register_craftitem("default:coal_lump", {
|
|
description = "Coal Lump",
|
|
wield_scale = {x = 1, y = 1, z = 2},
|
|
inventory_image = "default_coal_lump.png",
|
|
groups = {coal = 1}
|
|
})
|
|
|
|
minetest.register_craftitem("default:iron_lump", {
|
|
description = "Iron Lump",
|
|
wield_scale = {x = 1, y = 1, z = 2},
|
|
inventory_image = "default_iron_lump.png",
|
|
groups = {ingot_lump = 1},
|
|
})
|
|
|
|
minetest.register_craftitem("default:copper_lump", {
|
|
description = "Copper Lump",
|
|
wield_scale = {x = 1, y = 1, z = 2},
|
|
inventory_image = "default_copper_lump.png",
|
|
groups = {ingot_lump = 1},
|
|
})
|
|
|
|
minetest.register_craftitem("default:mese_crystal", {
|
|
description = "Mese Crystal",
|
|
inventory_image = "default_mese_crystal.png",
|
|
})
|
|
|
|
minetest.register_craftitem("default:gold_lump", {
|
|
description = "Gold Lump",
|
|
wield_scale = {x = 1, y = 1, z = 2},
|
|
inventory_image = "default_gold_lump.png",
|
|
groups = {ingot_lump = 1},
|
|
})
|
|
|
|
minetest.register_craftitem("default:diamond", {
|
|
description = "Diamond",
|
|
inventory_image = "default_diamond.png",
|
|
})
|
|
|
|
minetest.register_craftitem("default:clay_lump", {
|
|
description = "Clay Lump",
|
|
stack_max = 200,
|
|
wield_scale = {x = 1, y = 1, z = 2},
|
|
inventory_image = "default_clay_lump.png",
|
|
})
|
|
|
|
minetest.register_craftitem("default:steel_ingot", {
|
|
description = "Steel Ingot",
|
|
wield_scale = {x = 1, y = 1, z = 2},
|
|
inventory_image = "default_steel_ingot.png",
|
|
groups = {ingot = 1},
|
|
})
|
|
|
|
minetest.register_craftitem("default:copper_ingot", {
|
|
description = "Copper Ingot",
|
|
wield_scale = {x = 1, y = 1, z = 2},
|
|
inventory_image = "default_copper_ingot.png",
|
|
groups = {ingot = 1},
|
|
})
|
|
|
|
minetest.register_craftitem("default:bronze_ingot", {
|
|
description = "Bronze Ingot",
|
|
wield_scale = {x = 1, y = 1, z = 2},
|
|
inventory_image = "default_bronze_ingot.png",
|
|
groups = {ingot = 1},
|
|
})
|
|
|
|
minetest.register_craftitem("default:gold_ingot", {
|
|
description = "Gold Ingot",
|
|
wield_scale = {x = 1, y = 1, z = 2},
|
|
inventory_image = "default_gold_ingot.png",
|
|
groups = {ingot = 1},
|
|
})
|
|
|
|
minetest.register_craftitem("default:mese_crystal_fragment", {
|
|
description = "Mese Crystal Fragment",
|
|
inventory_image = "default_mese_crystal_fragment.png",
|
|
})
|
|
|
|
minetest.register_craftitem("default:clay_brick", {
|
|
description = "Clay Brick",
|
|
wield_scale = {x = 1, y = 1, z = 2},
|
|
inventory_image = "default_clay_brick.png",
|
|
})
|
|
|
|
minetest.register_craftitem("default:scorched_stuff", {
|
|
description = "Scorched Stuff",
|
|
inventory_image = "default_scorched_stuff.png",
|
|
})
|
|
|
|
minetest.register_craftitem("default:obsidian_shard", {
|
|
description = "Obsidian Shard",
|
|
inventory_image = "default_obsidian_shard.png",
|
|
})
|