Voxelis/mods/CORE/vox_main/init.lua
DesertMermaid a7ac9c29b2 new file: .forgejo/workflows/error_check.yml
new file:   .forgejo/workflows/unit_test.yml
new file:   .luacheckrc
new file:   .vscode/settings.json
new file:   LICENSE
new file:   default.nix
modified:   game.conf
modified:   minetest.conf
new file:   mods/BLOCKS/modpack.conf
new file:   mods/BLOCKS/overworld/init.lua
new file:   mods/BLOCKS/overworld/mod.conf
new file:   mods/BLOCKS/overworld/textures/vox_grass.png
new file:   mods/COMPAT/README.md
new file:   mods/COMPAT/minetest_default/README.md
new file:   mods/COMPAT/minetest_default/init.lua
new file:   mods/COMPAT/minetest_default/mod.conf
new file:   mods/COMPAT/modpack.conf
new file:   mods/CORE/colors/init.lua
new file:   mods/CORE/colors/mod.conf
new file:   mods/CORE/controls
new file:   mods/CORE/modpack.conf
new file:   mods/CORE/vox_main/init.lua
new file:   mods/CORE/vox_main/mod.conf
new file:   mods/ENTITIES/modpack.conf
new file:   mods/ENVIRONMENT/modpack.conf
new file:   mods/HELP/modpack.conf
new file:   mods/HUD/inventory/creative.lua
new file:   mods/HUD/inventory/init.lua
new file:   mods/HUD/inventory/mod.conf
new file:   mods/HUD/inventory/survival.lua
new file:   mods/HUD/modpack.conf
new file:   mods/ITEMS/modpack.conf
new file:   mods/MAPGEN/modpack.conf
new file:   mods/MISC/modpack.conf
new file:   mods/PLAYER/modpack.conf
modified:   settingtypes.txt
new file:   tests/CORE/colors.lua
new file:   tests/README.md
new file:   tests/sanity.lua
2024-12-10 15:23:36 -08:00

34 lines
No EOL
1.1 KiB
Lua

---------------------------------------------------------------------------
-- 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/>.
---------------------------------------------------------------------------
-- This file is intended as the primary entry point for the game.
core.register_node("vox_main:grass", {
description = "Grass",
tiles = {"vox_main_grass.png"},
groups = {cracky = 3}
})
core.register_alias("grass", "vox_main:grass")
core.register_biome({
name = "grassland",
node_top = "vox_main:grass",
depth_top = 1,
node_filler = "vox_main:grass",
depth_filler = 3,
node_stone = "vox_main:grass",
height_min = 1,
height_max = 4,
heat_point = 50,
humidity_point = 50
})