Remove GlobalSpace, domains and extends methods in Mod

This commit is contained in:
Van
2025-12-01 17:08:56 +03:00
parent ace217832b
commit e44420d0ab
19 changed files with 72 additions and 50 deletions

View File

@@ -1,3 +1,6 @@
---@type Node
local Node = Mod.getInfo('smc__core__node').require('Node')
---@type Node.NodeDefinition
local defaultLiquidDef = {
settings = {
@@ -19,7 +22,7 @@ local defaultLiquidDef = {
}
---@type Node
local defaultLiquid = Core.Node.Class:getExtended(defaultLiquidDef)
local defaultLiquid = Node:getExtended(defaultLiquidDef)
local liquidFactory = defaultLiquid:getFactory()