добавлен префикс к имени настройки, добавлен файл описывающий настройки
This commit is contained in:
parent
8c931646ae
commit
044fe31e46
84
init.lua
84
init.lua
@ -1,46 +1,46 @@
|
|||||||
space_travel = {}
|
space_travel = {}
|
||||||
space_travel.yarth = tonumber(minetest.settings:get('yarth') or 4000)
|
space_travel.yarth = tonumber(minetest.settings:get('space_travel_yarth') or 4000)
|
||||||
space_travel.yarth_orbit = tonumber(minetest.settings:get('yarth_orbit') or 4500)
|
space_travel.yarth_orbit = tonumber(minetest.settings:get('space_travel_yarth_orbit') or 4500)
|
||||||
space_travel.luna = tonumber(minetest.settings:get('luna') or 5500)
|
space_travel.luna = tonumber(minetest.settings:get('space_travel_luna') or 5500)
|
||||||
space_travel.luna_orbit = tonumber(minetest.settings:get('luna_orbit') or 6000)
|
space_travel.luna_orbit = tonumber(minetest.settings:get('space_travel_luna_orbit') or 6000)
|
||||||
space_travel.mars = tonumber(minetest.settings:get('mars') or 7000)
|
space_travel.mars = tonumber(minetest.settings:get('space_travel_mars') or 7000)
|
||||||
space_travel.mars_orbit = tonumber(minetest.settings:get('mars_orbit') or 7500)
|
space_travel.mars_orbit = tonumber(minetest.settings:get('space_travel_mars_orbit') or 7500)
|
||||||
space_travel.mercury = tonumber(minetest.settings:get('mercury') or 8000)
|
space_travel.mercury = tonumber(minetest.settings:get('space_travel_mercury') or 8000)
|
||||||
space_travel.mercury_orbit = tonumber(minetest.settings:get('mercury_orbit') or 8500)
|
space_travel.mercury_orbit = tonumber(minetest.settings:get('space_travel_mercury_orbit') or 8500)
|
||||||
space_travel.venus = tonumber(minetest.settings:get('venus') or 9000)
|
space_travel.venus = tonumber(minetest.settings:get('space_travel_venus') or 9000)
|
||||||
space_travel.venus_orbit = tonumber(minetest.settings:get('venus_orbit') or 9500)
|
space_travel.venus_orbit = tonumber(minetest.settings:get('space_travel_venus_orbit') or 9500)
|
||||||
space_travel.ganymede = tonumber(minetest.settings:get('ganymede') or 10000)
|
space_travel.ganymede = tonumber(minetest.settings:get('space_travel_ganymede') or 10000)
|
||||||
space_travel.ganymede_orbit = tonumber(minetest.settings:get('ganymede_orbit') or 10500)
|
space_travel.ganymede_orbit = tonumber(minetest.settings:get('space_travel_ganymede_orbit') or 10500)
|
||||||
space_travel.callisto = tonumber(minetest.settings:get('callisto') or 11000)
|
space_travel.callisto = tonumber(minetest.settings:get('space_travel_callisto') or 11000)
|
||||||
space_travel.callisto_orbit = tonumber(minetest.settings:get('callisto_orbit') or 11500)
|
space_travel.callisto_orbit = tonumber(minetest.settings:get('space_travel_callisto_orbit') or 11500)
|
||||||
space_travel.io = tonumber(minetest.settings:get('io') or 12000)
|
space_travel.io = tonumber(minetest.settings:get('space_travel_io') or 12000)
|
||||||
space_travel.io_orbit = tonumber(minetest.settings:get('io_orbit') or 12500)
|
space_travel.io_orbit = tonumber(minetest.settings:get('space_travel_io_orbit') or 12500)
|
||||||
space_travel.europa = tonumber(minetest.settings:get('europa') or 13000)
|
space_travel.europa = tonumber(minetest.settings:get('space_travel_europa') or 13000)
|
||||||
space_travel.europa_orbit = tonumber(minetest.settings:get('europa_orbit') or 13500)
|
space_travel.europa_orbit = tonumber(minetest.settings:get('space_travel_europa_orbit') or 13500)
|
||||||
space_travel.titan = tonumber(minetest.settings:get('titan') or 14500)
|
space_travel.titan = tonumber(minetest.settings:get('space_travel_titan') or 14500)
|
||||||
space_travel.titan_orbit = tonumber(minetest.settings:get('titan_orbit') or 15000)
|
space_travel.titan_orbit = tonumber(minetest.settings:get('space_travel_titan_orbit') or 15000)
|
||||||
space_travel.oberon = tonumber(minetest.settings:get('oberon') or 16000)
|
space_travel.oberon = tonumber(minetest.settings:get('space_travel_oberon') or 16000)
|
||||||
space_travel.oberon_orbit = tonumber(minetest.settings:get('oberon_orbit') or 16500)
|
space_travel.oberon_orbit = tonumber(minetest.settings:get('space_travel_oberon_orbit') or 16500)
|
||||||
space_travel.triton = tonumber(minetest.settings:get('triton') or 17500)
|
space_travel.triton = tonumber(minetest.settings:get('space_travel_triton') or 17500)
|
||||||
space_travel.triton_orbit = tonumber(minetest.settings:get('triton_orbit') or 18000)
|
space_travel.triton_orbit = tonumber(minetest.settings:get('space_travel_triton_orbit') or 18000)
|
||||||
space_travel.pluto = tonumber(minetest.settings:get('pluto') or 19000)
|
space_travel.pluto = tonumber(minetest.settings:get('space_travel_pluto') or 19000)
|
||||||
space_travel.pluto_orbit = tonumber(minetest.settings:get('pluto_orbit') or 19500)
|
space_travel.pluto_orbit = tonumber(minetest.settings:get('space_travel_pluto_orbit') or 19500)
|
||||||
space_travel.charon = tonumber(minetest.settings:get('charon') or 20500)
|
space_travel.charon = tonumber(minetest.settings:get('space_travel_charon') or 20500)
|
||||||
space_travel.charon_orbit = tonumber(minetest.settings:get('charon_orbit') or 21000)
|
space_travel.charon_orbit = tonumber(minetest.settings:get('space_travel_charon_orbit') or 21000)
|
||||||
space_travel.sedna = tonumber(minetest.settings:get('sedna') or 22000)
|
space_travel.sedna = tonumber(minetest.settings:get('space_travel_sedna') or 22000)
|
||||||
space_travel.sedna_orbit = tonumber(minetest.settings:get('sedna_orbit') or 22500)
|
space_travel.sedna_orbit = tonumber(minetest.settings:get('space_travel_sedna_orbit') or 22500)
|
||||||
space_travel.asteriod_belt = tonumber(minetest.settings:get('asteriod_belt') or 23000)
|
space_travel.asteriod_belt = tonumber(minetest.settings:get('space_travel_asteriod_belt') or 23000)
|
||||||
space_travel.asteriod_belt_orbit = tonumber(minetest.settings:get('asteriod_belt_orbit') or 23500)
|
space_travel.asteriod_belt_orbit = tonumber(minetest.settings:get('space_travel_asteriod_belt_orbit') or 23500)
|
||||||
space_travel.minerva = tonumber(minetest.settings:get('minerva') or 24500)
|
space_travel.minerva = tonumber(minetest.settings:get('space_travel_minerva') or 24500)
|
||||||
space_travel.minerva_orbit = tonumber(minetest.settings:get('minerva_orbit') or 25000)
|
space_travel.minerva_orbit = tonumber(minetest.settings:get('space_travel_minerva_orbit') or 25000)
|
||||||
space_travel.bacchus = tonumber(minetest.settings:get('bacchus') or 26000)
|
space_travel.bacchus = tonumber(minetest.settings:get('space_travel_bacchus') or 26000)
|
||||||
space_travel.bacchus_orbit = tonumber(minetest.settings:get('bacchus_orbit') or 26500)
|
space_travel.bacchus_orbit = tonumber(minetest.settings:get('space_travel_bacchus_orbit') or 26500)
|
||||||
space_travel.ourea = tonumber(minetest.settings:get('ourea') or 27500)
|
space_travel.ourea = tonumber(minetest.settings:get('space_travel_ourea') or 27500)
|
||||||
space_travel.ourea_orbit = tonumber(minetest.settings:get('ourea_orbit') or 28000)
|
space_travel.ourea_orbit = tonumber(minetest.settings:get('space_travel_ourea_orbit') or 28000)
|
||||||
space_travel.osiris = tonumber(minetest.settings:get('osiris') or 29000)
|
space_travel.osiris = tonumber(minetest.settings:get('space_travel_osiris') or 29000)
|
||||||
space_travel.osiris_orbit = tonumber(minetest.settings:get('osiris_orbit') or 29500)
|
space_travel.osiris_orbit = tonumber(minetest.settings:get('space_travel_osiris_orbit') or 29500)
|
||||||
space_travel.minthe = tonumber(minetest.settings:get('minthe') or 30500)
|
space_travel.minthe = tonumber(minetest.settings:get('space_travel_minthe') or 30500)
|
||||||
space_travel.minthe_orbit = tonumber(minetest.settings:get('minthe_orbit') or 31000)
|
space_travel.minthe_orbit = tonumber(minetest.settings:get('space_travel_minthe_orbit') or 31000)
|
||||||
|
|
||||||
dofile(minetest.get_modpath("space_travel") .. "/sky.lua")
|
dofile(minetest.get_modpath("space_travel") .. "/sky.lua")
|
||||||
dofile(minetest.get_modpath("space_travel") .. "/nodes.lua")
|
dofile(minetest.get_modpath("space_travel") .. "/nodes.lua")
|
||||||
|
46
settingtypes.txt
Normal file
46
settingtypes.txt
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
[ Altitude of the planets and orbits ]
|
||||||
|
|
||||||
|
# Ярт
|
||||||
|
yarth (Yarth) int 4000
|
||||||
|
# Орбита земли
|
||||||
|
yarth_orbit (Earth's orbit) int 4500
|
||||||
|
space_travel_luna (Luna) int 5500
|
||||||
|
space_travel_luna_orbit (Orbit of the Moon) int 6000
|
||||||
|
space_travel_mars (Mars) int 7000
|
||||||
|
space_travel_mars_orbit (Mars orbit) int 7500
|
||||||
|
space_travel_mercury (Mercury) int 8000
|
||||||
|
space_travel_mercury_orbit (Mercury orbit) int 8500
|
||||||
|
space_travel_venus (Venus) int 9000
|
||||||
|
space_travel_venus_orbit (Venus orbit) int 9500
|
||||||
|
space_travel_ganymede (Ganymede) int 10000
|
||||||
|
space_travel_ganymede_orbit (Ganymede orbit) int 10500
|
||||||
|
space_travel_callisto (Callisto) int 11000
|
||||||
|
space_travel_callisto_orbit (Callisto orbit) int 11500
|
||||||
|
space_travel_io (Io) int 12000
|
||||||
|
space_travel_io_orbit (Io orbit) int 12500
|
||||||
|
space_travel_europa (Europa) int 13000
|
||||||
|
space_travel_europa_orbit (Europa orbit) int 13500
|
||||||
|
space_travel_titan (Titan) int 14500
|
||||||
|
space_travel_titan_orbit (Titan orbit) int 15000
|
||||||
|
space_travel_oberon (Oberon) int 16000
|
||||||
|
space_travel_oberon_orbit (Oberon_orbit) int 16500
|
||||||
|
space_travel_triton (Triton) int 17500
|
||||||
|
space_travel_triton_orbit (Triton orbit) int 18000
|
||||||
|
space_travel_pluto (Pluto) int 19000
|
||||||
|
space_travel_pluto_orbit (Pluto orbit) int 19500
|
||||||
|
space_travel_charon (Charon) int 20500
|
||||||
|
space_travel_charon_orbit (Charon orbit) int 21000
|
||||||
|
space_travel_sedna (Sedna) int 22000
|
||||||
|
space_travel_sedna_orbit (Sedna orbit) int 22500
|
||||||
|
space_travel_asteriod_belt (Asteriod belt) int 23000
|
||||||
|
space_travel_asteriod_belt_orbit (Asteriod belt orbit) int 23500
|
||||||
|
space_travel_minerva (Minerva) int 24500
|
||||||
|
space_travel_minerva_orbit (Minerva orbit) int 25000
|
||||||
|
space_travel_bacchus (Bacchus) int 26000
|
||||||
|
space_travel_bacchus_orbit (Bacchus orbit') int 26500
|
||||||
|
space_travel_ourea (Ourea) int 27500
|
||||||
|
space_travel_ourea_orbit (Ourea orbit) int 28000
|
||||||
|
space_travel_osiris (Osiris) int 29000
|
||||||
|
space_travel_osiris_orbit (Osiris orbit) int 29500
|
||||||
|
space_travel_minthe (Minthe) int 30500
|
||||||
|
space_travel_minthe_orbit (Minthe orbit') int 31000
|
Loading…
Reference in New Issue
Block a user