This commit is contained in:
Andrew Miner
2026-10-30 21:16:18 -06:00
parent cac0557036
commit a1ee82308c
18 changed files with 381 additions and 155 deletions
+2 -4
View File
@@ -1,11 +1,9 @@
-- Imports & Exports -------------------------------------------------------------------------------
local core = _G.core
local jvmi = _G.jvmi
-- Constants ---------------------------------------------------------------------------------------
local S = core.get_translator("jvmi_nodes")
local S = jvmi.mods.nodes.S
-- Registrations -----------------------------------------------------------------------------------
+6 -5
View File
@@ -1,11 +1,12 @@
-- Imports & Exports -------------------------------------------------------------------------------
local core = _G.core
local jvmi = _G.jvmi
local mod = jvmi.register_mod("jvmi_nodes")
-- Script ------------------------------------------------------------------------------------------
local path = core.get_modpath("jvmi_nodes")
dofile(path.."/earthy.lua")
dofile(path.."/liquid.lua")
dofile(path.."/stony.lua")
mod.domodfile("earthy.lua")
mod.domodfile("liquid.lua")
mod.domodfile("stony.lua")
+6 -8
View File
@@ -1,15 +1,13 @@
-- Imports & Exports -------------------------------------------------------------------------------
local core = _G["core"]
local core = _G.core
local jvmi = _G.jvmi
local C = jvmi.C
local S = jvmi.mods.nodes.S
-- Constants ---------------------------------------------------------------------------------------
local C = dofile(core.get_game_info().path.."/common/constants.lua")
local S = core.get_translator("jvmi_nodes")
-- Registrations -----------------------------------------------------------------------------------
-- Script ------------------------------------------------------------------------------------------
core.register_node("jvmi_nodes:water_flowing", {
description = S("Flowing Water"),
+5 -7
View File
@@ -1,14 +1,12 @@
-- Imports & Exports -------------------------------------------------------------------------------
local core = _G["core"]
local core = _G.core
local jvmi = _G.jvmi
local S = jvmi.mods.nodes.S
-- Constants ---------------------------------------------------------------------------------------
local S = core.get_translator("jvmi_nodes")
-- Registrations -----------------------------------------------------------------------------------
-- Script ------------------------------------------------------------------------------------------
core.register_node("jvmi_nodes:bedrock", {
description = S("Bedrock"),