mirror of
https://github.com/ApfelTeeSaft/PlanetFleet.git
synced 2026-08-26 19:33:38 +00:00
57 lines
1.2 KiB
Lua
57 lines
1.2 KiB
Lua
res = graphics.resolution
|
|
Size = {x = 70, y = 70}
|
|
margin = 10
|
|
sz = {x = Size.x - margin, y = Size.y - margin}
|
|
|
|
gui = {
|
|
{
|
|
pos = {x = res.x - 3 * Size.x, y = res.y - 3 * Size.y, z = 0},
|
|
size = sz,
|
|
guiType = GuiType.BUTTON,
|
|
buttonType = ButtonType.BUILD,
|
|
trigger = 76,
|
|
},
|
|
{
|
|
pos = {x = res.x - 2 * Size.x, y = res.y - 3 * Size.y, z = 0},
|
|
size = sz,
|
|
guiType = GuiType.BUTTON,
|
|
buttonType = ButtonType.BUILD,
|
|
trigger = 78,
|
|
},
|
|
{
|
|
pos = {x = res.x - 1 * Size.x, y = res.y - 3 * Size.y, z = 0},
|
|
size = sz,
|
|
guiType = GuiType.BUTTON,
|
|
buttonType = ButtonType.BUILD,
|
|
trigger = 77,
|
|
},
|
|
{
|
|
pos = {x = res.x - 3 * Size.x, y = res.y - 2 * Size.y, z = 0},
|
|
size = sz,
|
|
guiType = GuiType.BUTTON,
|
|
buttonType = ButtonType.BUILD,
|
|
trigger = 84,
|
|
},
|
|
{
|
|
pos = {x = res.x - 2 * Size.x, y = res.y - 2 * Size.y, z = 0},
|
|
size = sz,
|
|
guiType = GuiType.BUTTON,
|
|
buttonType = ButtonType.BUILD,
|
|
trigger = 68,
|
|
},
|
|
{
|
|
pos = {x = res.x - 1 * Size.x, y = res.y - 2 * Size.y, z = 0},
|
|
size = sz,
|
|
guiType = GuiType.BUTTON,
|
|
buttonType = ButtonType.BUILD,
|
|
trigger = 70,
|
|
},
|
|
{
|
|
pos = {x = res.x - 3 * Size.x, y = res.y - 1 * Size.y, z = 0},
|
|
size = sz,
|
|
guiType = GuiType.BUTTON,
|
|
buttonType = ButtonType.BUILD,
|
|
trigger = 76,
|
|
},
|
|
}
|