Remove useless oddly_breakable_by_hand item group
This commit is contained in:
parent
f828123753
commit
5085d1309e
@ -6,7 +6,7 @@ minetest.register_tool("arena_lib:editor_players", {
|
||||
|
||||
description = S("Players"),
|
||||
inventory_image = "arenalib_editor_players.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -33,7 +33,7 @@ minetest.register_tool("arena_lib:editor_spawners", {
|
||||
|
||||
description = S("Spawners"),
|
||||
inventory_image = "arenalib_editor_spawners.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -53,7 +53,7 @@ minetest.register_tool("arena_lib:editor_signs", {
|
||||
|
||||
description = S("Signs"),
|
||||
inventory_image = "arenalib_editor_signs.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -69,7 +69,7 @@ minetest.register_tool("arena_lib:editor_customise", {
|
||||
|
||||
description = S("Customise"),
|
||||
inventory_image = "arenalib_editor_customise.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -85,7 +85,7 @@ minetest.register_tool("arena_lib:editor_settings", {
|
||||
|
||||
description = S("Settings"),
|
||||
inventory_image = "arenalib_editor_settings.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -104,7 +104,7 @@ minetest.register_tool("arena_lib:editor_info", {
|
||||
|
||||
description = S("Info"),
|
||||
inventory_image = "arenalib_editor_info.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -124,7 +124,7 @@ minetest.register_tool("arena_lib:editor_return", {
|
||||
|
||||
description = S("Go back"),
|
||||
inventory_image = "arenalib_editor_return.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -140,7 +140,7 @@ minetest.register_tool("arena_lib:editor_enable", {
|
||||
|
||||
description = S("Enable and leave"),
|
||||
inventory_image = "arenalib_editor_enable.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -160,7 +160,7 @@ minetest.register_tool("arena_lib:editor_quit", {
|
||||
|
||||
description = S("Leave"),
|
||||
inventory_image = "arenalib_editor_quit.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
|
@ -28,7 +28,7 @@ function arena_lib.register_editor_section(mod, def)
|
||||
|
||||
description = name,
|
||||
inventory_image = def.icon,
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
|
@ -12,7 +12,7 @@ minetest.register_tool("arena_lib:customise_bgm", {
|
||||
|
||||
description = S("Background music"),
|
||||
inventory_image = "arenalib_customise_bgm.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
|
@ -11,7 +11,7 @@ minetest.register_tool("arena_lib:customise_lighting", {
|
||||
|
||||
description = S("Lighting"),
|
||||
inventory_image = "arenalib_customise_lighting.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
|
@ -16,12 +16,12 @@ local players_tools = {
|
||||
|
||||
|
||||
|
||||
minetest.register_node("arena_lib:players_min", {
|
||||
minetest.register_tool("arena_lib:players_min", {
|
||||
|
||||
description = S("Players required: "),
|
||||
inventory_image = "arenalib_tool_players_min.png",
|
||||
wield_image = "arenalib_tool_players_min.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -40,12 +40,12 @@ minetest.register_node("arena_lib:players_min", {
|
||||
|
||||
|
||||
|
||||
minetest.register_node("arena_lib:players_max", {
|
||||
minetest.register_tool("arena_lib:players_max", {
|
||||
|
||||
description = S("Players supported: "),
|
||||
inventory_image = "arenalib_tool_players_max.png",
|
||||
wield_image = "arenalib_tool_players_max.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -68,7 +68,7 @@ minetest.register_tool("arena_lib:players_change", {
|
||||
|
||||
description = S("Change the current number"),
|
||||
inventory_image = "arenalib_tool_players_change.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_drop = function() end,
|
||||
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
@ -90,7 +90,7 @@ minetest.register_tool("arena_lib:players_teams_on", {
|
||||
|
||||
description = S("Teams: on (click to toggle off)"),
|
||||
inventory_image = "arenalib_tool_players_teams_on.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -111,7 +111,7 @@ minetest.register_tool("arena_lib:players_teams_off", {
|
||||
|
||||
description = S("Teams: off (click to toggle on)"),
|
||||
inventory_image = "arenalib_tool_players_teams_off.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
|
@ -26,7 +26,7 @@ minetest.register_tool("arena_lib:settings_rename_author", {
|
||||
|
||||
description = S("Arena name and author"),
|
||||
inventory_image = "arenalib_tool_settings_nameauthor.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -46,7 +46,7 @@ minetest.register_tool("arena_lib:settings_properties", {
|
||||
|
||||
description = S("Arena properties"),
|
||||
inventory_image = "arenalib_tool_settings_properties.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -67,7 +67,7 @@ minetest.register_craftitem("arena_lib:timer", {
|
||||
|
||||
description = S("Timer: on"),
|
||||
inventory_image = "arenalib_tool_settings_timer.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -95,7 +95,7 @@ minetest.register_tool("arena_lib:settings_delete", {
|
||||
|
||||
description = S("Delete arena"),
|
||||
inventory_image = "arenalib_tool_settings_delete.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
|
@ -17,7 +17,7 @@ minetest.register_tool("arena_lib:sign_add", {
|
||||
|
||||
description = S("Add sign"),
|
||||
inventory_image = "arenalib_tool_sign_add.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -39,7 +39,7 @@ minetest.register_tool("arena_lib:sign_remove", {
|
||||
|
||||
description = S("Remove sign"),
|
||||
inventory_image = "arenalib_tool_sign_remove.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
|
@ -21,7 +21,7 @@ minetest.register_tool("arena_lib:customise_sky", {
|
||||
|
||||
description = S("Celestial vault"),
|
||||
inventory_image = "arenalib_customise_sky.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
|
@ -30,7 +30,7 @@ minetest.register_tool("arena_lib:spawner_add", {
|
||||
|
||||
description = S("Add spawner"),
|
||||
inventory_image = "arenalib_tool_spawner_add.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -50,7 +50,7 @@ minetest.register_tool("arena_lib:spawner_remove", {
|
||||
|
||||
description = S("Remove spawner"),
|
||||
inventory_image = "arenalib_tool_spawner_remove.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_drop = function() end,
|
||||
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
@ -77,7 +77,7 @@ minetest.register_tool("arena_lib:spawner_team_add", {
|
||||
|
||||
description = S("Add team spawner"),
|
||||
inventory_image = "arenalib_tool_spawner_team_add.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -98,7 +98,7 @@ minetest.register_tool("arena_lib:spawner_team_remove", {
|
||||
|
||||
description = S("Remove team spawner"),
|
||||
inventory_image = "arenalib_tool_spawner_team_remove.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -125,7 +125,7 @@ minetest.register_tool("arena_lib:spawner_team_switch", {
|
||||
|
||||
description = S("Switch team"),
|
||||
inventory_image = "arenalib_tool_spawner_team_switch.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -158,7 +158,7 @@ minetest.register_tool("arena_lib:spawner_deleteall", {
|
||||
|
||||
description = S("Delete all spawners"),
|
||||
inventory_image = "arenalib_tool_spawner_deleteall.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -179,7 +179,7 @@ minetest.register_tool("arena_lib:spawner_team_deleteall", {
|
||||
|
||||
description = S("Delete all spawners of the team"),
|
||||
inventory_image = "arenalib_tool_spawner_team_deleteall.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
|
@ -6,7 +6,7 @@ minetest.register_tool("arena_lib:spectate_changeplayer", {
|
||||
|
||||
description = S("Change player"),
|
||||
inventory_image = "arenalib_spectate_changeplayer.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -22,7 +22,7 @@ minetest.register_tool("arena_lib:spectate_changeteam", {
|
||||
|
||||
description = S("Change team"),
|
||||
inventory_image = "arenalib_spectate_changeteam.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -45,7 +45,7 @@ minetest.register_tool("arena_lib:spectate_changeentity", {
|
||||
|
||||
description = S("Change entity"),
|
||||
inventory_image = "arenalib_spectate_changeentity.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -66,7 +66,7 @@ minetest.register_tool("arena_lib:spectate_changearea", {
|
||||
|
||||
description = S("Change area"),
|
||||
inventory_image = "arenalib_spectate_changearea.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -87,7 +87,7 @@ minetest.register_tool("arena_lib:spectate_join", {
|
||||
|
||||
description = S("Enter the match"),
|
||||
inventory_image = "arenalib_editor_return.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
@ -106,7 +106,7 @@ minetest.register_tool("arena_lib:spectate_quit", {
|
||||
|
||||
description = S("Leave"),
|
||||
inventory_image = "arenalib_editor_quit.png",
|
||||
groups = {not_in_creative_inventory = 1, oddly_breakable_by_hand = "2"},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user