Update register_arena.lua

Correct height of entities
master
shivajiva101 2020-09-15 23:14:38 +01:00 committed by shivajiva
parent 19eb6b495d
commit 68457b6b66
1 changed files with 75 additions and 75 deletions

View File

@ -28,28 +28,28 @@ local default_arena = {
bot = { bot = {
-- spawner upgrade bot -- spawner upgrade bot
offset = { offset = {
{x=-2, y=0, z=-4}, -- relative to island origin {x=-2, y=2, z=-4}, -- relative to island origin
{x=2, y=0, z=4}, {x=2, y=2, z=4},
{x=-2, y=0, z=-4}, {x=-2, y=2, z=-4},
{x=2, y=0, z=4}, {x=2, y=2, z=4},
{x=-4, y=0, z=2}, {x=-4, y=2, z=2},
{x=-4, y=0, z=2}, {x=-4, y=2, z=2},
{x=4, y=0, z=-2}, {x=4, y=2, z=-2},
{x=4, y=0, z=-2} {x=4, y=2, z=-2}
}, },
yaw = {90,270,90,270,0,0,180,180} -- facing yaw = {90,270,90,270,0,0,180,180} -- facing
}, },
colour = { colour = {
-- rgb colour tables -- rgb colour tables
{r = 0, g = 0, b = 255}, -- Blue {r = 0, g = 0, b = 255}, -- Blue
{r = 0, g = 255, b = 0}, -- Green {r = 0, g = 255, b = 0}, -- Green
{r = 255, g = 0, b = 0}, -- Red {r = 255, g = 0, b = 0}, -- Red
{r = 108, g = 0, b = 255}, -- Purple {r = 108, g = 0, b = 255}, -- Purple
{r = 255, g = 255, b = 0}, -- Yellow {r = 255, g = 255, b = 0}, -- Yellow
{r = 0, g = 255, b = 255}, -- Cyan {r = 0, g = 255, b = 255}, -- Cyan
{r = 255, g = 150, b = 0}, -- Orange {r = 255, g = 150, b = 0}, -- Orange
{r = 255, g = 0, b = 255} -- Pink {r = 255, g = 0, b = 255} -- Pink
}, },
cs = { cs = {
-- colour strings used by mod -- colour strings used by mod
{"Blue", "#0000FFBF", "blue", "0x0000FF"}, {"Blue", "#0000FFBF", "blue", "0x0000FF"},
@ -62,16 +62,16 @@ local default_arena = {
{"Pink", "#FF00FFBF", "pink", "0xFF00FF"} {"Pink", "#FF00FFBF", "pink", "0xFF00FF"}
}, },
description = 'default arena by shivajiva', description = 'default arena by shivajiva',
egg_offset = { egg_offset = {
{x=-5, y=0, z=0}, -- relative to island origin {x=-5, y=0, z=0}, -- relative to island origin
{x=5, y=0, z=0}, {x=5, y=0, z=0},
{x=-5, y=0, z=0}, {x=-5, y=0, z=0},
{x=-5, y=0, z=0}, {x=-5, y=0, z=0},
{x=-5, y=0, z=0}, {x=-5, y=0, z=0},
{x=-5, y=0, z=0}, {x=-5, y=0, z=0},
{x=-5, y=0, z=0}, {x=-5, y=0, z=0},
{x=-5, y=0, z=0} {x=-5, y=0, z=0}
}, },
exempt_nodes = { exempt_nodes = {
-- exempt nodes you want breakable within the world -- exempt nodes you want breakable within the world
-- partial strings allowed -- partial strings allowed
@ -79,35 +79,35 @@ local default_arena = {
'wool:', -- bridging block 'wool:', -- bridging block
'default:obsidian_block' -- requires pick 'default:obsidian_block' -- requires pick
}, },
hub = { hub = {
-- arena hub def -- arena hub def
offset = {x=-30, y=-18, z=-30}, -- pos1 for place offset = {x=-30, y=-18, z=-30}, -- pos1 for place
schem = 'hub_1.mts' schem = 'hub_1.mts'
}, },
island = { island = {
-- Confined to 90 degree rotations the current schema -- Confined to 90 degree rotations the current schema
-- places 2 islands per side of a square, giving us 8 -- places 2 islands per side of a square, giving us 8
-- islands max per instance. Each island is displaced -- islands max per instance. Each island is displaced
-- equally from the arena centre position using the -- equally from the arena centre position using the
-- island vector table -- island vector table
{x=85, y=0, z=-40}, -- BL {x=85, y=0, z=-40}, -- BL
{x=-85, y=0, z=-40}, -- TL {x=-85, y=0, z=-40}, -- TL
{x=85, y=0, z=40}, -- BR {x=85, y=0, z=40}, -- BR
{x=-85, y=0, z=40}, -- TR {x=-85, y=0, z=40}, -- TR
{x=40, y=0, z=-85}, -- LB {x=40, y=0, z=-85}, -- LB
{x=-40, y=0, z=-85}, -- LT {x=-40, y=0, z=-85}, -- LT
{x=40, y=0, z=85}, -- RB {x=40, y=0, z=85}, -- RB
{x=-40, y=0, z=85}, -- RT {x=-40, y=0, z=85}, -- RT
offset = {x=-11, y=-20, z=-10}, offset = {x=-11, y=-20, z=-10},
rotate = {"0", "180", "0", "180", "90", "90", "270", "270"}, rotate = {"0", "180", "0", "180", "90", "90", "270", "270"},
schem = 'island_1.mts' schem = 'island_1.mts'
}, },
name = 'default', -- arena name name = 'default', -- arena name
region = { region = {
-- arena region relative to origin -- arena region relative to origin
p1 = {x=-120, y=-30, z=-120}, p1 = {x=-120, y=-30, z=-120},
p2 = {x=120, y=100, z=120} p2 = {x=120, y=100, z=120}
}, },
register_nodes = { register_nodes = {
-- add any arena specific custom nodes here, generally -- add any arena specific custom nodes here, generally
-- these are the nodes the player can use in the arenas -- these are the nodes the player can use in the arenas
@ -135,9 +135,9 @@ local default_arena = {
}, },
schem = 'island_small_1.mts' schem = 'island_small_1.mts'
}, },
spawners = { spawners = {
-- centre -- centre
diamond = { diamond = {
{x=9, y=4, z=-9}, -- relative to arena origin {x=9, y=4, z=-9}, -- relative to arena origin
{x=-9, y=4, z=9}, {x=-9, y=4, z=9},
{x=-9, y=4, z=-9}, {x=-9, y=4, z=-9},
@ -145,31 +145,31 @@ local default_arena = {
rate = 30 rate = 30
}, },
-- player island -- player island
gold = { gold = {
{x=-3, y=-1, z=-4}, -- relative to island origin {x=-3, y=-1, z=-4}, -- relative to island origin
{x=3, y=-1, z=4}, {x=3, y=-1, z=4},
{x=-3, y=-1, z=-4}, {x=-3, y=-1, z=-4},
{x=3, y=-1, z=4}, {x=3, y=-1, z=4},
{x=-4, y=-1, z=3}, {x=-4, y=-1, z=3},
{x=-4, y=-1, z=3}, {x=-4, y=-1, z=3},
{x=4, y=-1, z=-3}, {x=4, y=-1, z=-3},
{x=4, y=-1, z=-3}, {x=4, y=-1, z=-3},
rate = 5 -- starting rate in seconds rate = 5 -- starting rate in seconds
}, },
-- satellites -- satellites
ruby = { ruby = {
{x=65, y=0.5, z=0}, -- relative to arena origin {x=65, y=0.5, z=0}, -- relative to arena origin
{x=0, y=0.5, z=65}, {x=0, y=0.5, z=65},
{x=-65, y=0.5, z=0}, {x=-65, y=0.5, z=0},
{x=0, y=0.5, z=-65}, {x=0, y=0.5, z=-65},
rate = 15 rate = 15
}, },
}, },
timer = { timer = {
max_time = 1800, -- seconds max_time = 1800, -- seconds
suddendeath = 1200 -- seconds suddendeath = 1200 -- seconds
}, },
trader = { trader = {
names = { names = {
"Johann", "Johann",
"Celery55", "Celery55",
@ -181,14 +181,14 @@ local default_arena = {
"Bom Shiva" "Bom Shiva"
}, },
offset = { offset = {
{x=2, y=0.5, z=0}, -- relative to island origin {x=2, y=2.5, z=0}, -- relative to island origin
{x=-2, y=0.5, z=0}, {x=-2, y=2.5, z=0},
{x=2, y=0.5, z=0}, {x=2, y=2.5, z=0},
{x=-2, y=0.5, z=0}, {x=-2, y=2.5, z=0},
{x=0, y=0.5, z=2}, {x=0, y=2.5, z=2},
{x=0, y=0.5, z=2}, {x=0, y=2.5, z=2},
{x=0, y=0.5, z=-2}, {x=0, y=2.5, z=-2},
{x=0, y=0.5, z=-2} {x=0, y=2.5, z=-2}
}, },
yaw = {90,270,90,270,0,0,180,180} -- facing yaw = {90,270,90,270,0,0,180,180} -- facing
}, },