added files

This commit is contained in:
Red_King_Cyclops 2019-10-07 21:14:50 +00:00
parent e56b02eb39
commit 667efff368
5 changed files with 3200 additions and 0 deletions

576
crafting_recipes.lua Normal file
View File

@ -0,0 +1,576 @@
--Crafting recipes
--Lead recipes
minetest.register_craft({
type = "cooking",
output = "space_travel:lead_ingot",
recipe = "space_travel:galena_lump",
-- cooktime = 5,
})
minetest.register_craft({
output = 'space_travel:lead_block',
recipe = {
{'space_travel:lead_ingot', 'space_travel:lead_ingot', 'space_travel:lead_ingot'},
{'space_travel:lead_ingot', 'space_travel:lead_ingot', 'space_travel:lead_ingot'},
{'space_travel:lead_ingot', 'space_travel:lead_ingot', 'space_travel:lead_ingot'},
}
})
minetest.register_craft({
type = "shapeless",
output = 'space_travel:lead_ingot 9',
recipe = {
"space_travel:lead_block",
}
})
--Lunar Spinel recipes
minetest.register_craft({
output = 'space_travel:lunar_spinel_block',
recipe = {
{'space_travel:lunar_spinel_gem', 'space_travel:lunar_spinel_gem', 'space_travel:lunar_spinel_gem'},
{'space_travel:lunar_spinel_gem', 'space_travel:lunar_spinel_gem', 'space_travel:lunar_spinel_gem'},
{'space_travel:lunar_spinel_gem', 'space_travel:lunar_spinel_gem', 'space_travel:lunar_spinel_gem'},
}
})
minetest.register_craft({
type = "shapeless",
output = 'space_travel:lunar_spinel_gem 9',
recipe = {
"space_travel:lunar_spinel_block",
}
})
--Titanium recipes
minetest.register_craft({
type = "cooking",
output = "space_travel:titanium_ingot",
recipe = "space_travel:titanium_lump",
-- cooktime = 5,
})
minetest.register_craft({
output = 'space_travel:titanium_block',
recipe = {
{'space_travel:titanium_ingot', 'space_travel:titanium_ingot', 'space_travel:titanium_ingot'},
{'space_travel:titanium_ingot', 'space_travel:titanium_ingot', 'space_travel:titanium_ingot'},
{'space_travel:titanium_ingot', 'space_travel:titanium_ingot', 'space_travel:titanium_ingot'},
}
})
minetest.register_craft({
type = "shapeless",
output = 'space_travel:titanium_ingot 9',
recipe = {
"space_travel:titanium_block",
}
})
--Mars recipes
minetest.register_craft({
type = "cooking",
output = "default:iron_lump",
recipe = "space_travel:mars_iron_powder",
-- cooktime = 5,
})
minetest.register_craft({
output = 'space_travel:mars_sand 9',
recipe = {
{'space_travel:mars_iron_powder', 'space_travel:mars_iron_powder', 'space_travel:mars_iron_powder'},
{'space_travel:mars_iron_powder', 'space_travel:mars_iron_powder', 'space_travel:mars_iron_powder'},
{'space_travel:mars_iron_powder', 'space_travel:mars_iron_powder', 'space_travel:mars_iron_powder'},
}
})
--Minthe recipes
minetest.register_craft({
type = "cooking",
output = "default:copper_lump",
recipe = "space_travel:minthe_copper_powder",
-- cooktime = 5,
})
minetest.register_craft({
output = 'space_travel:minthe_sand 9',
recipe = {
{'space_travel:minthe_copper_powder', 'space_travel:minthe_copper_powder', 'space_travel:minthe_copper_powder'},
{'space_travel:minthe_copper_powder', 'space_travel:minthe_copper_powder', 'space_travel:minthe_copper_powder'},
{'space_travel:minthe_copper_powder', 'space_travel:minthe_copper_powder', 'space_travel:minthe_copper_powder'},
}
})
--Titan recipes
minetest.register_craft({
type = "fuel",
recipe = "space_travel:titan_hydrocarbon_sand",
burntime = 60,
})
minetest.register_craft({
type = "cooking",
output = "rocket:bucket_rocket_fuel",
recipe = "space_travel:bucket_liquid_hydrocarbon",
-- cooktime = 5,
})
--Solar mese recipes
minetest.register_craft({
output = 'space_travel:solar_mese_block',
recipe = {
{'space_travel:solar_mese_crystal', 'space_travel:solar_mese_crystal', 'space_travel:solar_mese_crystal'},
{'space_travel:solar_mese_crystal', 'space_travel:solar_mese_crystal', 'space_travel:solar_mese_crystal'},
{'space_travel:solar_mese_crystal', 'space_travel:solar_mese_crystal', 'space_travel:solar_mese_crystal'},
}
})
minetest.register_craft({
type = "shapeless",
output = 'space_travel:solar_mese_crystal 9',
recipe = {
"space_travel:solar_mese_block",
}
})
-- Lava crystal recipes
minetest.register_craft({
output = 'space_travel:lava_crystal_block',
recipe = {
{'space_travel:lava_crystal', 'space_travel:lava_crystal', 'space_travel:lava_crystal'},
{'space_travel:lava_crystal', 'space_travel:lava_crystal', 'space_travel:lava_crystal'},
{'space_travel:lava_crystal', 'space_travel:lava_crystal', 'space_travel:lava_crystal'},
}
})
minetest.register_craft({
type = "shapeless",
output = 'space_travel:lava_crystal 9',
recipe = {
"space_travel:lava_crystal_block",
}
})
--Dark matter crystal recipes
minetest.register_craft({
output = 'space_travel:dark_matter_crystal_block',
recipe = {
{'space_travel:dark_matter_crystal', 'space_travel:dark_matter_crystal', 'space_travel:dark_matter_crystal'},
{'space_travel:dark_matter_crystal', 'space_travel:dark_matter_crystal', 'space_travel:dark_matter_crystal'},
{'space_travel:dark_matter_crystal', 'space_travel:dark_matter_crystal', 'space_travel:dark_matter_crystal'},
}
})
minetest.register_craft({
type = "shapeless",
output = 'space_travel:dark_matter_crystal 9',
recipe = {
"space_travel:dark_matter_crystal_block",
}
})
--Cryolava recipes
minetest.register_craft({
type = "cooking",
output = "bucket:bucket_water",
recipe = "space_travel:bucket_cryolava",
-- cooktime = 5,
})
--Europa water recipes
minetest.register_craft({
type = "cooking",
output = "bucket:bucket_water",
recipe = "space_travel:bucket_europa_water",
-- cooktime = 5,
})
--Space liquid to normal liquid recipes
--[[
minetest.register_craft({
type = "shapeless",
output = 'bucket:bucket_water',
recipe = {
"space_travel:bucket_europa_water",
}
})
]]
minetest.register_craft({
type = "shapeless",
output = 'bucket:bucket_water',
recipe = {
"space_travel:bucket_minerva_water",
}
})
minetest.register_craft({
type = "shapeless",
output = 'bucket:bucket_water',
recipe = {
"space_travel:bucket_bacchus_water",
}
})
minetest.register_craft({
type = "shapeless",
output = 'bucket:bucket_lava',
recipe = {
"space_travel:bucket_space_lava",
}
})
--Wood recipes
minetest.register_craft({
type = "shapeless",
output = 'space_travel:minerva_pine_wood 4',
recipe = {
"space_travel:minerva_pine_tree",
}
})
minetest.register_craft({
type = "shapeless",
output = 'space_travel:bacchus_wood 4',
recipe = {
"space_travel:bacchus_tree",
}
})
--Convert space stone to normal stone
minetest.register_craft({
type = "shapeless",
output = 'default:stone',
recipe = {
"space_travel:space_stone",
}
})
--Stone recipes
minetest.register_craft({
type = "cooking",
output = "space_travel:space_stone",
recipe = "space_travel:space_cobble",
})
minetest.register_craft({
output = "space_travel:space_stonebrick 4",
recipe = {
{"space_travel:space_stone", "space_travel:space_stone"},
{"space_travel:space_stone", "space_travel:space_stone"},
}
})
minetest.register_craft({
output = "space_travel:space_stone_block 9",
recipe = {
{"space_travel:space_stone", "space_travel:space_stone", "space_travel:space_stone"},
{"space_travel:space_stone", "space_travel:space_stone", "space_travel:space_stone"},
{"space_travel:space_stone", "space_travel:space_stone", "space_travel:space_stone"},
}
})
minetest.register_craft({
type = "cooking",
output = "space_travel:mars_stone",
recipe = "space_travel:mars_cobble",
})
minetest.register_craft({
output = "space_travel:mars_stonebrick 4",
recipe = {
{"space_travel:mars_stone", "space_travel:mars_stone"},
{"space_travel:mars_stone", "space_travel:mars_stone"},
}
})
minetest.register_craft({
output = "space_travel:mars_stone_block 9",
recipe = {
{"space_travel:mars_stone", "space_travel:mars_stone", "space_travel:mars_stone"},
{"space_travel:mars_stone", "space_travel:mars_stone", "space_travel:mars_stone"},
{"space_travel:mars_stone", "space_travel:mars_stone", "space_travel:mars_stone"},
}
})
minetest.register_craft({
type = "cooking",
output = "space_travel:venus_stone",
recipe = "space_travel:venus_cobble",
})
minetest.register_craft({
output = "space_travel:venus_stonebrick 4",
recipe = {
{"space_travel:venus_stone", "space_travel:venus_stone"},
{"space_travel:venus_stone", "space_travel:venus_stone"},
}
})
minetest.register_craft({
output = "space_travel:venus_stone_block 9",
recipe = {
{"space_travel:venus_stone", "space_travel:venus_stone", "space_travel:venus_stone"},
{"space_travel:venus_stone", "space_travel:venus_stone", "space_travel:venus_stone"},
{"space_travel:venus_stone", "space_travel:venus_stone", "space_travel:venus_stone"},
}
})
minetest.register_craft({
type = "cooking",
output = "space_travel:io_stone",
recipe = "space_travel:io_cobble",
})
minetest.register_craft({
output = "space_travel:io_stonebrick 4",
recipe = {
{"space_travel:io_stone", "space_travel:io_stone"},
{"space_travel:io_stone", "space_travel:io_stone"},
}
})
minetest.register_craft({
output = "space_travel:venus_stone_block 9",
recipe = {
{"space_travel:io_stone", "space_travel:io_stone", "space_travel:io_stone"},
{"space_travel:io_stone", "space_travel:io_stone", "space_travel:io_stone"},
{"space_travel:io_stone", "space_travel:io_stone", "space_travel:io_stone"},
}
})
minetest.register_craft({
type = "cooking",
output = "space_travel:minerva_stone",
recipe = "space_travel:minerva_cobble",
})
minetest.register_craft({
output = "space_travel:minerva_stonebrick 4",
recipe = {
{"space_travel:minerva_stone", "space_travel:minerva_stone"},
{"space_travel:minerva_stone", "space_travel:minerva_stone"},
}
})
minetest.register_craft({
output = "space_travel:minerva_stone_block 9",
recipe = {
{"space_travel:minerva_stone", "space_travel:minerva_stone", "space_travel:minerva_stone"},
{"space_travel:minerva_stone", "space_travel:minerva_stone", "space_travel:minerva_stone"},
{"space_travel:minerva_stone", "space_travel:minerva_stone", "space_travel:minerva_stone"},
}
})
minetest.register_craft({
type = "cooking",
output = "space_travel:bacchus_stone",
recipe = "space_travel:bacchus_cobble",
})
minetest.register_craft({
output = "space_travel:bacchus_stonebrick 4",
recipe = {
{"space_travel:bacchus_stone", "space_travel:bacchus_stone"},
{"space_travel:bacchus_stone", "space_travel:bacchus_stone"},
}
})
minetest.register_craft({
output = "space_travel:bacchus_stone_block 9",
recipe = {
{"space_travel:bacchus_stone", "space_travel:bacchus_stone", "space_travel:bacchus_stone"},
{"space_travel:bacchus_stone", "space_travel:bacchus_stone", "space_travel:bacchus_stone"},
{"space_travel:bacchus_stone", "space_travel:bacchus_stone", "space_travel:bacchus_stone"},
}
})
minetest.register_craft({
type = "cooking",
output = "space_travel:minthe_stone",
recipe = "space_travel:minthe_cobble",
})
minetest.register_craft({
output = "space_travel:minthe_stonebrick 4",
recipe = {
{"space_travel:minthe_stone", "space_travel:minthe_stone"},
{"space_travel:minthe_stone", "space_travel:minthe_stone"},
}
})
minetest.register_craft({
output = "space_travel:minthe_stone_block 9",
recipe = {
{"space_travel:minthe_stone", "space_travel:minthe_stone", "space_travel:minthe_stone"},
{"space_travel:minthe_stone", "space_travel:minthe_stone", "space_travel:minthe_stone"},
{"space_travel:minthe_stone", "space_travel:minthe_stone", "space_travel:minthe_stone"},
}
})
--Sandstone recipes
minetest.register_craft({
output = "space_travel:mars_sandstone 4",
recipe = {
{"space_travel:mars_sand", "space_travel:mars_sand"},
{"space_travel:mars_sand", "space_travel:mars_sand"},
}
})
minetest.register_craft({
type = "shapeless",
output = 'space_travel:mars_sand 4',
recipe = {
"space_travel:mars_sandstone",
}
})
minetest.register_craft({
output = "space_travel:mars_sandstone_brick 4",
recipe = {
{"space_travel:mars_sandstone", "space_travel:mars_sandstone"},
{"space_travel:mars_sandstone", "space_travel:mars_sandstone"},
}
})
minetest.register_craft({
output = "space_travel:mars_sandstone_block 9",
recipe = {
{"space_travel:mars_sandstone", "space_travel:mars_sandstone", "space_travel:mars_sandstone"},
{"space_travel:mars_sandstone", "space_travel:mars_sandstone", "space_travel:mars_sandstone"},
{"space_travel:mars_sandstone", "space_travel:mars_sandstone", "space_travel:mars_sandstone"},
}
})
minetest.register_craft({
output = "space_travel:minthe_sandstone 4",
recipe = {
{"space_travel:minthe_sand", "space_travel:minthe_sand"},
{"space_travel:minthe_sand", "space_travel:minthe_sand"},
}
})
minetest.register_craft({
type = "shapeless",
output = 'space_travel:minthe_sand 4',
recipe = {
"space_travel:minthe_sandstone",
}
})
minetest.register_craft({
output = "space_travel:minthe_sandstone_brick 4",
recipe = {
{"space_travel:minthe_sandstone", "space_travel:minthe_sandstone"},
{"space_travel:minthe_sandstone", "space_travel:minthe_sandstone"},
}
})
minetest.register_craft({
output = "space_travel:minthe_sandstone_block 9",
recipe = {
{"space_travel:minthe_sandstone", "space_travel:minthe_sandstone", "space_travel:minthe_sandstone"},
{"space_travel:minthe_sandstone", "space_travel:minthe_sandstone", "space_travel:minthe_sandstone"},
{"space_travel:minthe_sandstone", "space_travel:minthe_sandstone", "space_travel:minthe_sandstone"},
}
})
--Space Drive recipes
minetest.register_craft({
output = 'space_travel:space_drive_engine',
recipe = {
{'default:mese_crystal', 'default:steel_ingot', 'default:mese_crystal'},
{'default:steel_ingot', 'default:mese', 'default:steel_ingot'},
{'default:mese_crystal', 'rocket:rocket_thruster', 'default:mese_crystal'},
}
})
minetest.register_craft({
output = 'space_travel:warp_drive_engine',
recipe = {
{'space_travel:dark_matter_crystal', 'default:gold_ingot', 'space_travel:dark_matter_crystal'},
{'default:gold_ingot', 'space_travel:dark_matter_crystal_block', 'default:gold_ingot'},
{'space_travel:dark_matter_crystal', 'rocket:rocket_thruster', 'space_travel:dark_matter_crystal'},
}
})
minetest.register_craft({
output = 'space_travel:space_drive_1',
recipe = {
{'default:mese_crystal', 'default:steel_ingot', 'default:mese_crystal'},
{'default:steel_ingot', 'space_travel:space_drive_engine', 'default:steel_ingot'},
{'default:mese_crystal', 'default:steel_ingot', 'default:mese_crystal'},
}
})
minetest.register_craft({
output = 'space_travel:space_drive_2',
recipe = {
{'space_travel:lunar_spinel_gem', 'space_travel:titanium_ingot', 'space_travel:lunar_spinel_gem'},
{'space_travel:titanium_ingot', 'space_travel:space_drive_engine', 'space_travel:titanium_ingot'},
{'space_travel:lunar_spinel_gem', 'space_travel:titanium_ingot', 'space_travel:lunar_spinel_gem'},
}
})
minetest.register_craft({
output = 'space_travel:space_drive_3',
recipe = {
{'space_travel:martian_ice_crystal', 'space_travel:titanium_ingot', 'space_travel:martian_ice_crystal'},
{'space_travel:titanium_ingot', 'space_travel:space_drive_engine', 'space_travel:titanium_ingot'},
{'space_travel:martian_ice_crystal', 'space_travel:titanium_ingot', 'space_travel:martian_ice_crystal'},
}
})
minetest.register_craft({
output = 'space_travel:space_drive_4',
recipe = {
{'space_travel:solar_mese_crystal', 'space_travel:lead_ingot', 'space_travel:solar_mese_crystal'},
{'space_travel:lead_ingot', 'space_travel:space_drive_engine', 'space_travel:lead_ingot'},
{'space_travel:solar_mese_crystal', 'space_travel:lead_ingot', 'space_travel:solar_mese_crystal'},
}
})
minetest.register_craft({
output = 'space_travel:space_drive_5',
recipe = {
{'space_travel:lava_crystal', 'space_travel:lead_ingot', 'space_travel:lava_crystal'},
{'space_travel:lead_ingot', 'space_travel:space_drive_engine', 'space_travel:lead_ingot'},
{'space_travel:lava_crystal', 'space_travel:lead_ingot', 'space_travel:lava_crystal'},
}
})
minetest.register_craft({
output = 'space_travel:space_drive_6',
recipe = {
{'space_travel:titan_alien_crystal', 'space_travel:titanium_ingot', 'space_travel:titan_alien_crystal'},
{'space_travel:titanium_ingot', 'space_travel:space_drive_engine', 'space_travel:titanium_ingot'},
{'space_travel:titan_alien_crystal', 'space_travel:titanium_ingot', 'space_travel:titan_alien_crystal'},
}
})
minetest.register_craft({
output = 'space_travel:space_drive_7',
recipe = {
{'space_travel:dark_matter_crystal', 'default:gold_ingot', 'space_travel:dark_matter_crystal'},
{'default:gold_ingot', 'space_travel:warp_drive_engine', 'default:gold_ingot'},
{'space_travel:dark_matter_crystal', 'default:gold_ingot', 'space_travel:dark_matter_crystal'},
}
})

2511
dimensions.lua Normal file

File diff suppressed because it is too large Load Diff

43
init.lua Normal file
View File

@ -0,0 +1,43 @@
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)
]]

67
items.lua Normal file
View File

@ -0,0 +1,67 @@
--Space Drive Engines
minetest.register_craftitem("space_travel:space_drive_engine", {
description = "Space Drive Engine",
inventory_image = "space_travel_space_drive_engine.png",
})
minetest.register_craftitem("space_travel:warp_drive_engine", {
description = "Warp Drive Engine",
inventory_image = "space_travel_warp_drive_engine.png",
})
--Having to do with ores
minetest.register_craftitem("space_travel:galena_lump", {
description = "Galena Lump",
inventory_image = "space_travel_galena_lump.png",
})
minetest.register_craftitem("space_travel:lead_ingot", {
description = "Lead Ingot",
inventory_image = "space_travel_lead_ingot.png",
})
minetest.register_craftitem("space_travel:lunar_spinel_gem", {
description = "Lunar Spinel Gem",
inventory_image = "space_travel_lunar_spinel_gem.png",
})
minetest.register_craftitem("space_travel:titanium_lump", {
description = "Titanium Lump",
inventory_image = "space_travel_titanium_lump.png",
})
minetest.register_craftitem("space_travel:titanium_ingot", {
description = "Titanium Ingot",
inventory_image = "space_travel_titanium_ingot.png",
})
minetest.register_craftitem("space_travel:martian_ice_crystal", {
description = "Martian Ice Crystal",
inventory_image = "space_travel_martian_ice_crystal.png",
})
minetest.register_craftitem("space_travel:mars_iron_powder", {
description = "Mars Iron Powder",
inventory_image = "space_travel_mars_iron_powder.png",
})
minetest.register_craftitem("space_travel:solar_mese_crystal", {
description = "Solar Mese Crystal",
inventory_image = "space_travel_solar_mese_crystal.png",
})
minetest.register_craftitem("space_travel:minthe_copper_powder", {
description = "Minthe Copper Powder",
inventory_image = "space_travel_minthe_copper_powder.png",
})
minetest.register_craftitem("space_travel:lava_crystal", {
description = "Lava Crystal",
inventory_image = "space_travel_lava_crystal.png",
})
minetest.register_craftitem("space_travel:dark_matter_crystal", {
description = "Dark Matter Crystal",
inventory_image = "space_travel_dark_matter_crystal.png",
})

3
mod.conf Normal file
View File

@ -0,0 +1,3 @@
name = space_travel
description = Adds in visitable space dimensions.
depends = default, bucket, stairs, tnt, multidimensions, vacuum, rocket, radiant_damage