modified: mods/CORE/vox_main/init.lua

This commit is contained in:
Mrrp 2024-12-10 19:58:35 -08:00
parent b8ab011b21
commit 940b7cf7ea

View file

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