wip
@@ -0,0 +1,43 @@
|
||||
-- Imports & Exports -------------------------------------------------------------------------------
|
||||
|
||||
local core = _G["core"]
|
||||
|
||||
|
||||
-- Constants ---------------------------------------------------------------------------------------
|
||||
|
||||
local S = core.get_translator("jvmi_nodes")
|
||||
|
||||
|
||||
-- Registrations -----------------------------------------------------------------------------------
|
||||
|
||||
core.register_node("jvmi_nodes:clay", {
|
||||
description = S("Clay"),
|
||||
drop = "jvmi_nodes:clay",
|
||||
is_ground_content = true,
|
||||
sounds = { footstep = "jvmi_nodes_clay_footstep" },
|
||||
tiles = {"jvmi_nodes_clay.png"},
|
||||
})
|
||||
|
||||
core.register_node("jvmi_nodes:dirt", {
|
||||
description = S("Dirt"),
|
||||
drop = "jvmi_nodes:dirt",
|
||||
is_ground_content = true,
|
||||
sounds = { footstep = "jvmi_nodes_dirt_footstep" },
|
||||
tiles = {"jvmi_nodes_dirt.png"},
|
||||
})
|
||||
|
||||
core.register_node("jvmi_nodes:sand", {
|
||||
description = S("Sand"),
|
||||
drop = "jvmi_nodes:sand",
|
||||
is_ground_content = true,
|
||||
sounds = { footstep = "jvmi_nodes_sand_footstep" },
|
||||
tiles = {"jvmi_nodes_sand.png"},
|
||||
})
|
||||
|
||||
core.register_node("jvmi_nodes:turf", {
|
||||
description = S("Turf"),
|
||||
drop = "jvmi_nodes:turf",
|
||||
is_ground_content = true,
|
||||
sounds = { footstep = "jvmi_nodes_turf_footstep" },
|
||||
tiles = {"jvmi_nodes_turf.png"},
|
||||
})
|
||||
@@ -2,11 +2,12 @@
|
||||
|
||||
local core = _G["core"]
|
||||
|
||||
local path = core.get_modpath("jvmi_nodes")
|
||||
|
||||
|
||||
-- Script ------------------------------------------------------------------------------------------
|
||||
|
||||
dofile(path.."/earthlike.lua")
|
||||
local path = core.get_modpath("jvmi_nodes")
|
||||
dofile(path.."/earthy.lua")
|
||||
dofile(path.."/liquid.lua")
|
||||
dofile(path.."/stony.lua")
|
||||
|
||||
core.log("info", "jvmi_nodes loaded")
|
||||
|
||||
@@ -76,3 +76,4 @@ core.register_node("jvmi_nodes:water_source", {
|
||||
post_effect_color = "#033C5CCC",
|
||||
groups = { },
|
||||
})
|
||||
core.register_alias("mapgen_water_source", "jvmi_nodes:water_source")
|
||||
|
||||
@@ -17,6 +17,7 @@ core.register_node("jvmi_nodes:bedrock", {
|
||||
sounds = { footstep = "jvmi_nodes_stone_footstep" },
|
||||
tiles = {"jvmi_nodes_bedrock.png"},
|
||||
})
|
||||
core.register_alias("mapgen_bedrock", "jvmi_nodes:stone")
|
||||
|
||||
core.register_node("jvmi_nodes:stone", {
|
||||
description = S("Stone"),
|
||||
@@ -24,3 +25,4 @@ core.register_node("jvmi_nodes:stone", {
|
||||
sounds = { footstep = "jvmi_nodes_stone_footstep" },
|
||||
tiles = {"jvmi_nodes_stone.png"},
|
||||
})
|
||||
core.register_alias("mapgen_stone", "jvmi_nodes:stone")
|
||||
|
After Width: | Height: | Size: 189 B |
|
After Width: | Height: | Size: 172 B |
|
After Width: | Height: | Size: 227 B |
|
After Width: | Height: | Size: 181 B |
|
After Width: | Height: | Size: 435 B |
|
Before Width: | Height: | Size: 647 B After Width: | Height: | Size: 647 B |
|
Before Width: | Height: | Size: 438 B After Width: | Height: | Size: 438 B |