diff --git a/mods/BLOCKS/vox_overworld/init.lua b/mods/BLOCKS/vox_overworld/init.lua index ce968ab..da8e53c 100644 --- a/mods/BLOCKS/vox_overworld/init.lua +++ b/mods/BLOCKS/vox_overworld/init.lua @@ -11,3 +11,4 @@ -- with this program; if not, see . --------------------------------------------------------------------------- +-- TODO: Why are we not initializing the blocks here? \ No newline at end of file diff --git a/mods/BLOCKS/vox_overworld/textures/vox_stone.png b/mods/BLOCKS/vox_overworld/textures/vox_stone.png new file mode 100644 index 0000000..f13e77c Binary files /dev/null and b/mods/BLOCKS/vox_overworld/textures/vox_stone.png differ diff --git a/mods/BLOCKS/vox_overworld/textures/vox_water.png b/mods/BLOCKS/vox_overworld/textures/vox_water.png new file mode 100644 index 0000000..25d25c8 Binary files /dev/null and b/mods/BLOCKS/vox_overworld/textures/vox_water.png differ diff --git a/mods/CORE/vox_main/init.lua b/mods/CORE/vox_main/init.lua index 313a80d..ba7d7c6 100644 --- a/mods/CORE/vox_main/init.lua +++ b/mods/CORE/vox_main/init.lua @@ -13,8 +13,9 @@ -- This file is intended as the primary entry point for the game. +-- Grass Block core.register_node("vox_main:grass", { - description = "Grass", + description = "Grass Block", tiles = {"vox_grass.png"}, groups = {cracky = 3} }) @@ -31,4 +32,84 @@ core.register_biome({ height_max = 4, heat_point = 50, humidity_point = 50 -}) \ No newline at end of file +}) + +-- 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") \ No newline at end of file diff --git a/mods/MAPGEN/vox_biomes/init.lua b/mods/MAPGEN/vox_biomes/init.lua new file mode 100644 index 0000000..7523b8c --- /dev/null +++ b/mods/MAPGEN/vox_biomes/init.lua @@ -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 . +--------------------------------------------------------------------------- + +vox_biomes = { } \ No newline at end of file diff --git a/mods/MAPGEN/vox_biomes/mod.conf b/mods/MAPGEN/vox_biomes/mod.conf new file mode 100644 index 0000000..f219090 --- /dev/null +++ b/mods/MAPGEN/vox_biomes/mod.conf @@ -0,0 +1,2 @@ +name = vox_biomes +description = Voxelis - biomes \ No newline at end of file diff --git a/mods/MAPGEN/vox_mapgen_core/init.lua b/mods/MAPGEN/vox_mapgen_core/init.lua new file mode 100644 index 0000000..380b050 --- /dev/null +++ b/mods/MAPGEN/vox_mapgen_core/init.lua @@ -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 . +--------------------------------------------------------------------------- + +vox_mapgen_core = { } + +-- Variables + diff --git a/mods/MAPGEN/vox_mapgen_core/mod.conf b/mods/MAPGEN/vox_mapgen_core/mod.conf new file mode 100644 index 0000000..0d87de4 --- /dev/null +++ b/mods/MAPGEN/vox_mapgen_core/mod.conf @@ -0,0 +1,2 @@ +name = vox_mapgen_core +description = Voxelis - MapGen Core \ No newline at end of file diff --git a/mods/MAPGEN/vox_terrain_features/init.lua b/mods/MAPGEN/vox_terrain_features/init.lua new file mode 100644 index 0000000..8ff0487 --- /dev/null +++ b/mods/MAPGEN/vox_terrain_features/init.lua @@ -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 . +--------------------------------------------------------------------------- + +vox_terrain_features = { } \ No newline at end of file diff --git a/mods/MAPGEN/vox_terrain_features/mod.conf b/mods/MAPGEN/vox_terrain_features/mod.conf new file mode 100644 index 0000000..fa2419f --- /dev/null +++ b/mods/MAPGEN/vox_terrain_features/mod.conf @@ -0,0 +1,2 @@ +name = vox_terrain_features +description = Voxelis - Terrain Features \ No newline at end of file