Compare commits

...

3 commits

Author SHA1 Message Date
SevenOfAces
6c5f0ef2c1 Merge pull request 'main' (#2) from SevenOfAces/Voxelis:main into main
All checks were successful
Error Check / luacheck_errcheck (push) Successful in 1m14s
Unit Tests / busted_unit_test (push) Successful in 1m20s
Reviewed-on: #2
2024-12-11 03:59:08 +00:00
940b7cf7ea modified: mods/CORE/vox_main/init.lua
All checks were successful
Error Check / luacheck_errcheck (pull_request) Successful in 1m7s
Unit Tests / busted_unit_test (pull_request) Successful in 1m24s
2024-12-10 19:58:35 -08:00
SevenOfAces
b8ab011b21 Merge pull request 'main' (#2) from mad-star-studio/Voxelis:main into main
Reviewed-on: SevenOfAces/Voxelis#2
2024-12-11 01:29:31 +00:00

View file

@ -20,17 +20,21 @@ core.register_node("vox_main:grass", {
groups = {cracky = 3}
})
core.register_alias("grass", "vox_main:grass")
core.register_alias("default:dirt_with_grass" , "vox_main:grass")
core.register_biome({
name = "grassland",
node_top = "vox_main:grass",
node_top = "grass",
depth_top = 1,
node_filler = "vox_main:grass",
node_filler = "vox_main:dirt",
node_stone = "vox_main:stone",
depth_filler = 3,
node_stone = "vox_main:grass",
node_riverbed = "vox_main:sand",
node_river_water = "vox_main:water_source",
depth_riverbed = 2,
height_min = 1,
height_max = 4,
heat_point = 50,
height_max = 256,
heat_point = 35,
humidity_point = 50
})
@ -41,19 +45,19 @@ core.register_node("vox_main:stone", {
groups = {cracky = 2}
})
core.register_alias("stone", "vox_main:stone")
core.register_alias("mapgen_stone", "vox_main:stone")
-- core.register_alias("default: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
-- Sand
-- (I don't like sand. It's coarse and rough and irritating and it gets everywhere.)
core.register_node("vox_main:sand", {
description = "Sand",
tiles = {"vox_sand.png"},
groups = {crumbly = 3}
})
core.register_alias("sand", "vox_main:sand")
core.register_alias("default:sand", "vox_main:sand")
-- Water
core.register_node("vox_main:water_source", {
@ -70,7 +74,7 @@ core.register_node("vox_main:water_source", {
}
}
},
alpha = 160,
alpha = 128,
paramtype = "light",
walkable = false,
pointable = false,
@ -83,6 +87,8 @@ core.register_node("vox_main:water_source", {
post_effect_color = {a = 103, r = 30, g = 60, b = 90}
})
core.register_alias("water_source", "vox_main:water_source")
core.register_alias("default:river_water", "vox_main:water_source")
core.register_alias("mapgen_water_source", "vox_main:water_source")
core.register_node("vox_main:water_flowing", {
description = "Flowing Water",