88 lines
4.5 KiB
Lua
88 lines
4.5 KiB
Lua
space_travel = {}
|
|
space_travel.yarth = tonumber(minetest.settings:get('yarth') or 4000)
|
|
space_travel.yarth_orbit = tonumber(minetest.settings:get('yarth_orbit') or 4500)
|
|
space_travel.luna = tonumber(minetest.settings:get('luna') or 5500)
|
|
space_travel.luna_orbit = tonumber(minetest.settings:get('luna_orbit') or 6000)
|
|
space_travel.mars = tonumber(minetest.settings:get('mars') or 7000)
|
|
space_travel.mars_orbit = tonumber(minetest.settings:get('mars_orbit') or 7500)
|
|
space_travel.mercury = tonumber(minetest.settings:get('mercury') or 8000)
|
|
space_travel.mercury_orbit = tonumber(minetest.settings:get('mercury_orbit') or 8500)
|
|
space_travel.venus = tonumber(minetest.settings:get('venus') or 9000)
|
|
space_travel.venus_orbit = tonumber(minetest.settings:get('venus_orbit') or 9500)
|
|
space_travel.ganymede = tonumber(minetest.settings:get('ganymede') or 10000)
|
|
space_travel.ganymede_orbit = tonumber(minetest.settings:get('ganymede_orbit') or 10500)
|
|
space_travel.callisto = tonumber(minetest.settings:get('callisto') or 11000)
|
|
space_travel.callisto_orbit = tonumber(minetest.settings:get('callisto_orbit') or 11500)
|
|
space_travel.io = tonumber(minetest.settings:get('io') or 12000)
|
|
space_travel.io_orbit = tonumber(minetest.settings:get('io_orbit') or 12500)
|
|
space_travel.europa = tonumber(minetest.settings:get('europa') or 13000)
|
|
space_travel.europa_orbit = tonumber(minetest.settings:get('europa_orbit') or 13500)
|
|
space_travel.titan = tonumber(minetest.settings:get('titan') or 14500)
|
|
space_travel.titan_orbit = tonumber(minetest.settings:get('titan_orbit') or 15000)
|
|
space_travel.oberon = tonumber(minetest.settings:get('oberon') or 16000)
|
|
space_travel.oberon_orbit = tonumber(minetest.settings:get('oberon_orbit') or 16500)
|
|
space_travel.triton = tonumber(minetest.settings:get('triton') or 17500)
|
|
space_travel.triton_orbit = tonumber(minetest.settings:get('triton_orbit') or 18000)
|
|
space_travel.pluto = tonumber(minetest.settings:get('pluto') or 19000)
|
|
space_travel.pluto_orbit = tonumber(minetest.settings:get('pluto_orbit') or 19500)
|
|
space_travel.charon = tonumber(minetest.settings:get('charon') or 20500)
|
|
space_travel.charon_orbit = tonumber(minetest.settings:get('charon_orbit') or 21000)
|
|
space_travel.sedna = tonumber(minetest.settings:get('sedna') or 22000)
|
|
space_travel.sedna_orbit = tonumber(minetest.settings:get('sedna_orbit') or 22500)
|
|
space_travel.asteriod_belt = tonumber(minetest.settings:get('asteriod_belt') or 23000)
|
|
space_travel.asteriod_belt_orbit = tonumber(minetest.settings:get('asteriod_belt_orbit') or 23500)
|
|
space_travel.minerva = tonumber(minetest.settings:get('minerva') or 24500)
|
|
space_travel.minerva_orbit = tonumber(minetest.settings:get('minerva_orbit') or 25000)
|
|
space_travel.bacchus = tonumber(minetest.settings:get('bacchus') or 26000)
|
|
space_travel.bacchus_orbit = tonumber(minetest.settings:get('bacchus_orbit') or 26500)
|
|
space_travel.ourea = tonumber(minetest.settings:get('ourea') or 27500)
|
|
space_travel.ourea_orbit = tonumber(minetest.settings:get('ourea_orbit') or 28000)
|
|
space_travel.osiris = tonumber(minetest.settings:get('osiris') or 29000)
|
|
space_travel.osiris_orbit = tonumber(minetest.settings:get('osiris_orbit') or 29500)
|
|
space_travel.minthe = tonumber(minetest.settings:get('minthe') or 30500)
|
|
space_travel.minthe_orbit = tonumber(minetest.settings:get('minthe_orbit') or 31000)
|
|
|
|
dofile(minetest.get_modpath("space_travel") .. "/sky.lua")
|
|
dofile(minetest.get_modpath("space_travel") .. "/nodes.lua")
|
|
dofile(minetest.get_modpath("space_travel") .. "/radiation.lua")
|
|
dofile(minetest.get_modpath("space_travel") .. "/items.lua")
|
|
dofile(minetest.get_modpath("space_travel") .. "/space_drives.lua")
|
|
dofile(minetest.get_modpath("space_travel") .. "/crafting_recipes.lua")
|
|
dofile(minetest.get_modpath("space_travel") .. "/dimensions.lua")
|
|
dofile(minetest.get_modpath("space_travel") .. "/vacuum.lua")
|
|
|
|
--[[
|
|
Dimension name | #
|
|
----------------+---
|
|
Earth | 0
|
|
Luna (the moon) | 1
|
|
Mars | 2
|
|
Mercury | 3
|
|
Venus | 4
|
|
Ganymede | 5
|
|
Callisto | 6
|
|
Io | 7
|
|
Europa | 8
|
|
Titan | 9
|
|
Oberon | 10
|
|
Triton | 11
|
|
Pluto | 12
|
|
Charon | 13
|
|
Sedna | 14
|
|
Asteriod Belt | 15
|
|
Minerva | 16
|
|
Bacchus | 17
|
|
Ourea | 18
|
|
Osiris | 19
|
|
Minthe | 20
|
|
]]
|
|
|
|
--TODO
|
|
--[[
|
|
* make block, brick, stair, and slab versions of sedna stone
|
|
* figure out how alien dirt such as minerva dirt can be farmed or if it should be farmed
|
|
* make terraformer tool
|
|
* make titanium tools
|
|
* make artificial gravity generator (maybe)
|
|
]]
|