mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 05:43:43 +01:00
No enchant 4 flint&steel,pumpkin,head,screwdriver
This commit is contained in:
parent
821af93675
commit
39a0fdd24c
@ -112,7 +112,6 @@ pumpkin_face_base_def._doc_items_longdesc = S("A pumpkin can be worn as a helmet
|
|||||||
pumpkin_face_base_def._doc_items_usagehelp = nil
|
pumpkin_face_base_def._doc_items_usagehelp = nil
|
||||||
pumpkin_face_base_def.tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_face.png"}
|
pumpkin_face_base_def.tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_face.png"}
|
||||||
pumpkin_face_base_def.groups.armor_head=1
|
pumpkin_face_base_def.groups.armor_head=1
|
||||||
pumpkin_face_base_def.groups.enchantability=1
|
|
||||||
pumpkin_face_base_def._mcl_armor_mob_range_factor = 0
|
pumpkin_face_base_def._mcl_armor_mob_range_factor = 0
|
||||||
pumpkin_face_base_def._mcl_armor_mob_range_mob = "mobs_mc:enderman"
|
pumpkin_face_base_def._mcl_armor_mob_range_mob = "mobs_mc:enderman"
|
||||||
pumpkin_face_base_def.groups.non_combat_armor=1
|
pumpkin_face_base_def.groups.non_combat_armor=1
|
||||||
|
@ -9,7 +9,7 @@ minetest.register_tool("mcl_fire:flint_and_steel", {
|
|||||||
inventory_image = "mcl_fire_flint_and_steel.png",
|
inventory_image = "mcl_fire_flint_and_steel.png",
|
||||||
liquids_pointable = false,
|
liquids_pointable = false,
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
groups = { tool = 1, enchantability = 1 },
|
groups = { tool = 1, },
|
||||||
on_place = function(itemstack, user, pointed_thing)
|
on_place = function(itemstack, user, pointed_thing)
|
||||||
-- Use pointed node's on_rightclick function first, if present
|
-- Use pointed node's on_rightclick function first, if present
|
||||||
local node = minetest.get_node(pointed_thing.under)
|
local node = minetest.get_node(pointed_thing.under)
|
||||||
|
@ -42,7 +42,7 @@ local function addhead(name, texture, desc, longdesc, rangemob, rangefactor)
|
|||||||
{ -0.25, -0.5, -0.25, 0.25, 0.0, 0.25, },
|
{ -0.25, -0.5, -0.25, 0.25, 0.0, 0.25, },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
groups = {handy=1, armor_head=1,non_combat_armor=1, head=1, deco_block=1, dig_by_piston=1, enchantability=1},
|
groups = {handy=1, armor_head=1,non_combat_armor=1, head=1, deco_block=1, dig_by_piston=1 },
|
||||||
-- The head textures are based off the textures of an actual mob.
|
-- The head textures are based off the textures of an actual mob.
|
||||||
tiles = {
|
tiles = {
|
||||||
-- Note: bottom texture is overlaid over top texture to get rid of possible transparency.
|
-- Note: bottom texture is overlaid over top texture to get rid of possible transparency.
|
||||||
|
@ -176,7 +176,7 @@ minetest.register_tool("screwdriver:screwdriver", {
|
|||||||
description = S("Screwdriver"),
|
description = S("Screwdriver"),
|
||||||
inventory_image = "screwdriver.png",
|
inventory_image = "screwdriver.png",
|
||||||
wield_image = "screwdriver.png^[transformFX",
|
wield_image = "screwdriver.png^[transformFX",
|
||||||
groups = { tool = 1, not_in_creative_inventory = 1, enchantability = 1 },
|
groups = { tool = 1, not_in_creative_inventory = 1 },
|
||||||
on_use = function(itemstack, user, pointed_thing)
|
on_use = function(itemstack, user, pointed_thing)
|
||||||
screwdriver.handler(itemstack, user, pointed_thing, screwdriver.ROTATE_FACE, 200)
|
screwdriver.handler(itemstack, user, pointed_thing, screwdriver.ROTATE_FACE, 200)
|
||||||
return itemstack
|
return itemstack
|
||||||
|
Loading…
Reference in New Issue
Block a user