2022-09-18 21:20:04 +00:00
|
|
|
local wea_c = worldeditadditions_core
|
|
|
|
local Vector3 = wea_c.Vector3
|
|
|
|
|
2021-03-10 21:21:33 +00:00
|
|
|
-- ███████ ██████ ██ ██ ██████ ███████
|
|
|
|
-- ██ ██ ██ ██ ██ ██ ██
|
|
|
|
-- ███████ ██ ██ ██ ██████ █████
|
|
|
|
-- ██ ██ ██ ██ ██ ██ ██
|
|
|
|
-- ███████ ██████ ██████ ██████ ███████
|
2022-05-19 21:10:09 +00:00
|
|
|
worldeditadditions_core.register_command("scube", {
|
2024-09-13 17:47:42 +00:00
|
|
|
params = "None",
|
2024-10-01 14:48:32 +00:00
|
|
|
description = "DEPRECATED: please use //srel instead.",
|
2021-03-10 21:21:33 +00:00
|
|
|
privs = { worldedit = true },
|
|
|
|
require_pos = 1,
|
|
|
|
parse = function(params_text)
|
2024-09-13 17:47:42 +00:00
|
|
|
return params_text
|
2021-03-10 21:21:33 +00:00
|
|
|
end,
|
2024-09-13 17:47:42 +00:00
|
|
|
func = function(name, paramtext)
|
|
|
|
return false, "DEPRECATED: please use //srel instead..."
|
2021-03-10 21:21:33 +00:00
|
|
|
end,
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Tests
|
|
|
|
-- /multi //fp set1 -63 19 -20 //scube 5
|
|
|
|
-- /multi //fp set1 -63 19 -20 //scube z 5
|
|
|
|
-- /multi //fp set1 -63 19 -20 //scube a z 5
|
|
|
|
-- /multi //fp set1 -63 19 -20 //scube z a y 5
|
|
|
|
-- /multi //fp set1 -63 19 -20 //scube -z y a 5
|
|
|
|
-- /multi //fp set1 -63 19 -20 //scube z z 5
|
|
|
|
-- /lua print()
|