forked from mad-star-studio/Voxelis
main #2
34 changed files with 311 additions and 2 deletions
|
@ -11,3 +11,4 @@
|
||||||
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
-- TODO: Why are we not initializing the blocks here?
|
BIN
mods/BLOCKS/vox_overworld/textures/vox_stone.png
Normal file
BIN
mods/BLOCKS/vox_overworld/textures/vox_stone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 590 B |
BIN
mods/BLOCKS/vox_overworld/textures/vox_water.png
Normal file
BIN
mods/BLOCKS/vox_overworld/textures/vox_water.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 590 B |
14
mods/CORE/vox_autogroup/init.lua
Normal file
14
mods/CORE/vox_autogroup/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
-- Voxelis - Voxel survival sandbox for Luanti
|
||||||
|
-- Copyright (C) 2024 Mad Star Studio LLC
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License along
|
||||||
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vox_ = { }
|
2
mods/CORE/vox_autogroup/mod.conf
Normal file
2
mods/CORE/vox_autogroup/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name = vox_
|
||||||
|
description = Voxelis -
|
14
mods/CORE/vox_biomeinfo/init.lua
Normal file
14
mods/CORE/vox_biomeinfo/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
-- Voxelis - Voxel survival sandbox for Luanti
|
||||||
|
-- Copyright (C) 2024 Mad Star Studio LLC
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License along
|
||||||
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vox_biomeinfo = { }
|
2
mods/CORE/vox_biomeinfo/mod.conf
Normal file
2
mods/CORE/vox_biomeinfo/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name = vox_biomeinfo
|
||||||
|
description = Voxelis - biomeinfo
|
14
mods/CORE/vox_damage/init.lua
Normal file
14
mods/CORE/vox_damage/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
-- Voxelis - Voxel survival sandbox for Luanti
|
||||||
|
-- Copyright (C) 2024 Mad Star Studio LLC
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License along
|
||||||
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vox_damage = { }
|
2
mods/CORE/vox_damage/mod.conf
Normal file
2
mods/CORE/vox_damage/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name = vox_damage
|
||||||
|
description = Voxelis - damage
|
14
mods/CORE/vox_events/init.lua
Normal file
14
mods/CORE/vox_events/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
-- Voxelis - Voxel survival sandbox for Luanti
|
||||||
|
-- Copyright (C) 2024 Mad Star Studio LLC
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License along
|
||||||
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vox_events = { }
|
2
mods/CORE/vox_events/mod.conf
Normal file
2
mods/CORE/vox_events/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name = vox_events
|
||||||
|
description = Voxelis - events
|
14
mods/CORE/vox_explosions/init.lua
Normal file
14
mods/CORE/vox_explosions/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
-- Voxelis - Voxel survival sandbox for Luanti
|
||||||
|
-- Copyright (C) 2024 Mad Star Studio LLC
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License along
|
||||||
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vox_explosions = { }
|
2
mods/CORE/vox_explosions/mod.conf
Normal file
2
mods/CORE/vox_explosions/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name = vox_explosions
|
||||||
|
description = Voxelis - explosions
|
14
mods/CORE/vox_init/init.lua
Normal file
14
mods/CORE/vox_init/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
-- Voxelis - Voxel survival sandbox for Luanti
|
||||||
|
-- Copyright (C) 2024 Mad Star Studio LLC
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License along
|
||||||
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vox_init = { }
|
2
mods/CORE/vox_init/mod.conf
Normal file
2
mods/CORE/vox_init/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name = vox_init
|
||||||
|
description = Voxelis - init
|
14
mods/CORE/vox_loot/init.lua
Normal file
14
mods/CORE/vox_loot/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
-- Voxelis - Voxel survival sandbox for Luanti
|
||||||
|
-- Copyright (C) 2024 Mad Star Studio LLC
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License along
|
||||||
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vox_loot = { }
|
2
mods/CORE/vox_loot/mod.conf
Normal file
2
mods/CORE/vox_loot/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name = vox_loot
|
||||||
|
description = Voxelis - loot
|
|
@ -13,8 +13,9 @@
|
||||||
|
|
||||||
-- This file is intended as the primary entry point for the game.
|
-- This file is intended as the primary entry point for the game.
|
||||||
|
|
||||||
|
-- Grass Block
|
||||||
core.register_node("vox_main:grass", {
|
core.register_node("vox_main:grass", {
|
||||||
description = "Grass",
|
description = "Grass Block",
|
||||||
tiles = {"vox_grass.png"},
|
tiles = {"vox_grass.png"},
|
||||||
groups = {cracky = 3}
|
groups = {cracky = 3}
|
||||||
})
|
})
|
||||||
|
@ -31,4 +32,84 @@ core.register_biome({
|
||||||
height_max = 4,
|
height_max = 4,
|
||||||
heat_point = 50,
|
heat_point = 50,
|
||||||
humidity_point = 50
|
humidity_point = 50
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Stone
|
||||||
|
core.register_node("vox_main:stone", {
|
||||||
|
description = "Stone",
|
||||||
|
tiles = {"vox_stone.png"},
|
||||||
|
groups = {cracky = 2}
|
||||||
|
})
|
||||||
|
core.register_alias("stone", "vox_main:stone")
|
||||||
|
|
||||||
|
core.register_biome({
|
||||||
|
name = "stone",
|
||||||
|
node_top = "vox_main:stone",
|
||||||
|
depth_top = 1,
|
||||||
|
node_filler = "vox_main:stone",
|
||||||
|
depth_filler = 3,
|
||||||
|
node_stone = "vox_main:stone",
|
||||||
|
height_min = -31000,
|
||||||
|
height_max = 1,
|
||||||
|
heat_point = 50,
|
||||||
|
humidity_point = 50
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Water
|
||||||
|
core.register_node("vox_main:water_source", {
|
||||||
|
description = "Water Source",
|
||||||
|
drawtype = "liquid",
|
||||||
|
tiles = {
|
||||||
|
{
|
||||||
|
name = "vox_water.png",
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
length = 2.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
alpha = 160,
|
||||||
|
paramtype = "light",
|
||||||
|
walkable = false,
|
||||||
|
pointable = false,
|
||||||
|
diggable = false,
|
||||||
|
buildable_to = true,
|
||||||
|
liquidtype = "source",
|
||||||
|
liquid_alternative_flowing = "vox_main:water_flowing",
|
||||||
|
liquid_alternative_source = "vox_main:water_source",
|
||||||
|
liquid_viscosity = 1,
|
||||||
|
post_effect_color = {a = 103, r = 30, g = 60, b = 90}
|
||||||
|
})
|
||||||
|
core.register_alias("water_source", "vox_main:water_source")
|
||||||
|
|
||||||
|
core.register_node("vox_main:water_flowing", {
|
||||||
|
description = "Flowing Water",
|
||||||
|
drawtype = "flowingliquid",
|
||||||
|
tiles = {"vox_water.png"},
|
||||||
|
special_tiles = {
|
||||||
|
{
|
||||||
|
name = "vox_water.png",
|
||||||
|
backface_culling = false,
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
length = 0.8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
alpha = 160,
|
||||||
|
paramtype = "light",
|
||||||
|
walkable = false,
|
||||||
|
pointable = false,
|
||||||
|
diggable = false,
|
||||||
|
buildable_to = true,
|
||||||
|
liquidtype = "flowing",
|
||||||
|
liquid_alternative_flowing = "vox_main:water_flowing",
|
||||||
|
liquid_alternative_source = "vox_main:water_source",
|
||||||
|
liquid_viscosity = 1,
|
||||||
|
post_effect_color = {a = 103, r = 30, g = 60, b = 90}
|
||||||
|
})
|
||||||
|
core.register_alias("water_flowing", "vox_main:water_flowing")
|
14
mods/CORE/vox_particles/init.lua
Normal file
14
mods/CORE/vox_particles/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
-- Voxelis - Voxel survival sandbox for Luanti
|
||||||
|
-- Copyright (C) 2024 Mad Star Studio LLC
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License along
|
||||||
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vox_particles = { }
|
2
mods/CORE/vox_particles/mod.conf
Normal file
2
mods/CORE/vox_particles/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name = vox_particles
|
||||||
|
description = Voxelis - particles
|
14
mods/CORE/vox_sounds/init.lua
Normal file
14
mods/CORE/vox_sounds/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
-- Voxelis - Voxel survival sandbox for Luanti
|
||||||
|
-- Copyright (C) 2024 Mad Star Studio LLC
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License along
|
||||||
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vox_sounds = { }
|
2
mods/CORE/vox_sounds/mod.conf
Normal file
2
mods/CORE/vox_sounds/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name = vox_sounds
|
||||||
|
description = Voxelis - sounds
|
14
mods/CORE/vox_util/init.lua
Normal file
14
mods/CORE/vox_util/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
-- Voxelis - Voxel survival sandbox for Luanti
|
||||||
|
-- Copyright (C) 2024 Mad Star Studio LLC
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License along
|
||||||
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vox_util = { }
|
2
mods/CORE/vox_util/mod.conf
Normal file
2
mods/CORE/vox_util/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name = vox_util
|
||||||
|
description = Voxelis - util
|
14
mods/CORE/vox_worlds/init.lua
Normal file
14
mods/CORE/vox_worlds/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
-- Voxelis - Voxel survival sandbox for Luanti
|
||||||
|
-- Copyright (C) 2024 Mad Star Studio LLC
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License along
|
||||||
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vox_worlds = { }
|
2
mods/CORE/vox_worlds/mod.conf
Normal file
2
mods/CORE/vox_worlds/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name = vox_worlds
|
||||||
|
description = Voxelis - worlds
|
14
mods/MAPGEN/vox_biomes/init.lua
Normal file
14
mods/MAPGEN/vox_biomes/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
-- Voxelis - Voxel survival sandbox for Luanti
|
||||||
|
-- Copyright (C) 2024 Mad Star Studio LLC
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License along
|
||||||
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vox_biomes = { }
|
2
mods/MAPGEN/vox_biomes/mod.conf
Normal file
2
mods/MAPGEN/vox_biomes/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name = vox_biomes
|
||||||
|
description = Voxelis - biomes
|
17
mods/MAPGEN/vox_mapgen_core/init.lua
Normal file
17
mods/MAPGEN/vox_mapgen_core/init.lua
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
-- Voxelis - Voxel survival sandbox for Luanti
|
||||||
|
-- Copyright (C) 2024 Mad Star Studio LLC
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License along
|
||||||
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vox_mapgen_core = { }
|
||||||
|
|
||||||
|
-- Variables
|
||||||
|
|
2
mods/MAPGEN/vox_mapgen_core/mod.conf
Normal file
2
mods/MAPGEN/vox_mapgen_core/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name = vox_mapgen_core
|
||||||
|
description = Voxelis - MapGen Core
|
14
mods/MAPGEN/vox_terrain_features/init.lua
Normal file
14
mods/MAPGEN/vox_terrain_features/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
-- Voxelis - Voxel survival sandbox for Luanti
|
||||||
|
-- Copyright (C) 2024 Mad Star Studio LLC
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 3 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License along
|
||||||
|
-- with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vox_terrain_features = { }
|
2
mods/MAPGEN/vox_terrain_features/mod.conf
Normal file
2
mods/MAPGEN/vox_terrain_features/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name = vox_terrain_features
|
||||||
|
description = Voxelis - Terrain Features
|
Loading…
Add table
Reference in a new issue