507 lines
11 KiB
Lua
507 lines
11 KiB
Lua
local utils = ...
|
|
local S = utils.S
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_dig_back", {
|
|
description = S("Dig backward"),
|
|
short_description = S("Dig backward"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_dig_back.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_dig_back_down", {
|
|
description = S("Dig backward, down"),
|
|
short_description = S("Dig backward, down"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_dig_back_down.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_dig_back_up", {
|
|
description = S("Dig backward, up"),
|
|
short_description = S("Dig backward, up"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_dig_back_up.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_dig_down", {
|
|
description = S("Dig down"),
|
|
short_description = S("Dig down"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_dig_down.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_dig_front", {
|
|
description = S("Dig forward"),
|
|
short_description = S("Dig forward"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_dig_front.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_dig_front_down", {
|
|
description = S("Dig forward, down"),
|
|
short_description = S("Dig forward, down"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_dig_front_down.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_dig_front_up", {
|
|
description = S("Dig forward, up"),
|
|
short_description = S("Dig forward, up"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_dig_front_up.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_dig_up", {
|
|
description = S("Dig up"),
|
|
short_description = S("Dig up"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_dig_up.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_move_back", {
|
|
description = S("Move backward"),
|
|
short_description = S("Move backward"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_move_back.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_move_down", {
|
|
description = S("Move down"),
|
|
short_description = S("Move down"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_move_down.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_move_front", {
|
|
description = S("Move forward"),
|
|
short_description = S("Move forward"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_move_front.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_move_up", {
|
|
description = S("Move up"),
|
|
short_description = S("Move up"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_move_up.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_place_back", {
|
|
description = S("Place backward"),
|
|
short_description = S("Place backward"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_place_back.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_place_back_down", {
|
|
description = S("Place backward, down"),
|
|
short_description = S("Place backward, down"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_place_back_down.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_place_back_up", {
|
|
description = S("Place backward, up"),
|
|
short_description = S("Place backward, up"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_place_back_up.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_place_down", {
|
|
description = S("Place down"),
|
|
short_description = S("Place down"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_place_down.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_place_front", {
|
|
description = S("Place forward"),
|
|
short_description = S("Place forward"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_place_front.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_place_front_down", {
|
|
description = S("Place forward, down"),
|
|
short_description = S("Place forward, down"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_place_front_down.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_place_front_up", {
|
|
description = S("Place forward, up"),
|
|
short_description = S("Place forward, up"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_place_front_up.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_place_up", {
|
|
description = S("Place up"),
|
|
short_description = S("Place up"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_place_up.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_pull", {
|
|
description = S("Pull item"),
|
|
short_description = S("Pull item"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_pull.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_put", {
|
|
description = S("Put item"),
|
|
short_description = S("Put item"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_put.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_turn_left", {
|
|
description = S("Turn left"),
|
|
short_description = S("Turn left"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_turn_left.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_turn_right", {
|
|
description = S("Turn right"),
|
|
short_description = S("Turn right"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_turn_right.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_craft", {
|
|
description = S("Craft"),
|
|
short_description = S("Craft"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_craft.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_drop", {
|
|
description = S("Drop"),
|
|
short_description = S("Drop"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_drop.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_trash", {
|
|
description = S("Trash"),
|
|
short_description = S("Trash"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_trash.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_stop", {
|
|
description = S("Stop"),
|
|
short_description = S("Stop"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_stop.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_act_wait", {
|
|
description = S("Wait"),
|
|
short_description = S("Wait"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "act_wait.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_cond_contains", {
|
|
description = S("Contains item"),
|
|
short_description = S("Contains item"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "cond_contains.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_cond_counter_equal", {
|
|
description = S("Counter equal to"),
|
|
short_description = S("Counter equal to"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "cond_counter_equal.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_cond_counter_greater", {
|
|
description = S("Counter greater than"),
|
|
short_description = S("Counter greater than"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "cond_counter_greater.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_cond_counter_less", {
|
|
description = S("Counter less than"),
|
|
short_description = S("Counter less than"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "cond_counter_less.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_cond_detect_back", {
|
|
description = S("Detect backward"),
|
|
short_description = S("Detect backward"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "cond_detect_back.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_cond_detect_back_down", {
|
|
description = S("Detect backward, down"),
|
|
short_description = S("Detect backward, down"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "cond_detect_back_down.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_cond_detect_back_up", {
|
|
description = S("Detect backward, up"),
|
|
short_description = S("Detect backward, up"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "cond_detect_back_up.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_cond_detect_down", {
|
|
description = S("Detect down"),
|
|
short_description = S("Detect down"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "cond_detect_down.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_cond_detect_front", {
|
|
description = S("Detect forward"),
|
|
short_description = S("Detect forward"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "cond_detect_front.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_cond_detect_front_down", {
|
|
description = S("Detect forward, down"),
|
|
short_description = S("Detect forward, down"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "cond_detect_front_down.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_cond_detect_front_up", {
|
|
description = S("Detect forward, up"),
|
|
short_description = S("Detect forward, up"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "cond_detect_front_up.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_cond_detect_up", {
|
|
description = S("Detect up"),
|
|
short_description = S("Detect up"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "cond_detect_up.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_cond_fits", {
|
|
description = S("Item fits"),
|
|
short_description = S("Item fits"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "cond_fits.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_number", {
|
|
description = S("Number"),
|
|
short_description = S("Number"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "number.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_op_and", {
|
|
description = S("And"),
|
|
short_description = S("And"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "op_and.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_op_not", {
|
|
description = S("Not"),
|
|
short_description = S("Not"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "op_not.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_op_or", {
|
|
description = S("Or"),
|
|
short_description = S("Or"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "op_or.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_stat_if", {
|
|
description = S("If"),
|
|
short_description = S("If"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "stat_if.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_stat_loop", {
|
|
description = S("Loop"),
|
|
short_description = S("Loop"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "stat_loop.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_line_insert", {
|
|
description = S("Insert line"),
|
|
short_description = S("Insert line"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "line_insert.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem ("lwscratch:cmd_line_remove", {
|
|
description = S("Remove line"),
|
|
short_description = S("Remove line"),
|
|
groups = { not_in_creative = 1 },
|
|
inventory_image = "line_remove.png",
|
|
stack_max = 1
|
|
})
|
|
|
|
|
|
|
|
--
|