codex-5.2: ресурсы
81
mods/test/assets/test/model/node/acacia_planks.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"textures": {
|
||||
"default": "acacia_planks.png"
|
||||
},
|
||||
"cuboids": [
|
||||
{
|
||||
"from": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"to": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"faces": {
|
||||
"down": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "down"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "up"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "north"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "south"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "west"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "east"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
81
mods/test/assets/test/model/node/frame.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"textures": {
|
||||
"default": "frame.png"
|
||||
},
|
||||
"cuboids": [
|
||||
{
|
||||
"from": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"to": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"faces": {
|
||||
"down": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "down"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "up"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "north"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "south"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "west"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "east"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
81
mods/test/assets/test/model/node/grass.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"textures": {
|
||||
"default": "grass.png"
|
||||
},
|
||||
"cuboids": [
|
||||
{
|
||||
"from": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"to": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"faces": {
|
||||
"down": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "down"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "up"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "north"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "south"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "west"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "east"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
81
mods/test/assets/test/model/node/jungle_planks.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"textures": {
|
||||
"default": "jungle_planks.png"
|
||||
},
|
||||
"cuboids": [
|
||||
{
|
||||
"from": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"to": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"faces": {
|
||||
"down": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "down"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "up"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "north"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "south"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "west"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "east"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
81
mods/test/assets/test/model/node/oak_planks.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"textures": {
|
||||
"default": "oak_planks.png"
|
||||
},
|
||||
"cuboids": [
|
||||
{
|
||||
"from": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"to": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"faces": {
|
||||
"down": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "down"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "up"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "north"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "south"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "west"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "east"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"textures": {
|
||||
"default": "tropical_rainforest_wood.png"
|
||||
},
|
||||
"cuboids": [
|
||||
{
|
||||
"from": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"to": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"faces": {
|
||||
"down": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "down"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "up"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "north"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "south"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "west"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "east"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
81
mods/test/assets/test/model/node/willow_wood.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"textures": {
|
||||
"default": "willow_wood.png"
|
||||
},
|
||||
"cuboids": [
|
||||
{
|
||||
"from": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"to": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"faces": {
|
||||
"down": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "down"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "up"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "north"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "south"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "west"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "east"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
81
mods/test/assets/test/model/node/xnether_blue_wood.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"textures": {
|
||||
"default": "xnether_blue_wood.png"
|
||||
},
|
||||
"cuboids": [
|
||||
{
|
||||
"from": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"to": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"faces": {
|
||||
"down": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "down"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "up"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "north"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "south"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "west"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "east"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
81
mods/test/assets/test/model/node/xnether_purple_wood.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"textures": {
|
||||
"default": "xnether_purple_wood.png"
|
||||
},
|
||||
"cuboids": [
|
||||
{
|
||||
"from": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"to": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"faces": {
|
||||
"down": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "down"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "up"
|
||||
},
|
||||
"north": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "north"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "south"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "west"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"texture": "default",
|
||||
"cullface": "east"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
14
mods/test/assets/test/nodestate/test0.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"meta==0": {
|
||||
"model": "node/grass.json"
|
||||
},
|
||||
"meta==1": {
|
||||
"model": "node/oak_planks.json"
|
||||
},
|
||||
"meta==2": {
|
||||
"model": "node/jungle_planks.json"
|
||||
},
|
||||
"meta==3": {
|
||||
"model": "node/acacia_planks.json"
|
||||
}
|
||||
}
|
||||
14
mods/test/assets/test/nodestate/test1.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"meta==0": {
|
||||
"model": "node/tropical_rainforest_wood.json"
|
||||
},
|
||||
"meta==1": {
|
||||
"model": "node/willow_wood.json"
|
||||
},
|
||||
"meta==2": {
|
||||
"model": "node/xnether_blue_wood.json"
|
||||
},
|
||||
"meta==3": {
|
||||
"model": "node/xnether_purple_wood.json"
|
||||
}
|
||||
}
|
||||
14
mods/test/assets/test/nodestate/test2.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"meta==0": {
|
||||
"model": "node/frame.json"
|
||||
},
|
||||
"meta==1": {
|
||||
"model": "node/grass.json"
|
||||
},
|
||||
"meta==2": {
|
||||
"model": "node/oak_planks.json"
|
||||
},
|
||||
"meta==3": {
|
||||
"model": "node/acacia_planks.json"
|
||||
}
|
||||
}
|
||||
14
mods/test/assets/test/nodestate/test3.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"meta==0": {
|
||||
"model": "node/jungle_planks.json"
|
||||
},
|
||||
"meta==1": {
|
||||
"model": "node/tropical_rainforest_wood.json"
|
||||
},
|
||||
"meta==2": {
|
||||
"model": "node/willow_wood.json"
|
||||
},
|
||||
"meta==3": {
|
||||
"model": "node/xnether_blue_wood.json"
|
||||
}
|
||||
}
|
||||
14
mods/test/assets/test/nodestate/test4.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"meta==0": {
|
||||
"model": "node/oak_planks.json"
|
||||
},
|
||||
"meta==1": {
|
||||
"model": "node/jungle_planks.json"
|
||||
},
|
||||
"meta==2": {
|
||||
"model": "node/acacia_planks.json"
|
||||
},
|
||||
"meta==3": {
|
||||
"model": "node/willow_wood.json"
|
||||
}
|
||||
}
|
||||
14
mods/test/assets/test/nodestate/test5.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"meta==0": {
|
||||
"model": "node/grass.json"
|
||||
},
|
||||
"meta==1": {
|
||||
"model": "node/frame.json"
|
||||
},
|
||||
"meta==2": {
|
||||
"model": "node/xnether_purple_wood.json"
|
||||
},
|
||||
"meta==3": {
|
||||
"model": "node/tropical_rainforest_wood.json"
|
||||
}
|
||||
}
|
||||
BIN
mods/test/assets/test/texture/0.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
mods/test/assets/test/texture/acacia_planks.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
mods/test/assets/test/texture/frame.png
Normal file
|
After Width: | Height: | Size: 138 B |
BIN
mods/test/assets/test/texture/grass.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
mods/test/assets/test/texture/jungle_planks.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
mods/test/assets/test/texture/oak_planks.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
mods/test/assets/test/texture/tropical_rainforest_wood.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
mods/test/assets/test/texture/willow_wood.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
mods/test/assets/test/texture/xnether_blue_wood.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
mods/test/assets/test/texture/xnether_purple_wood.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
98
mods/test/init.lua
Normal file
@@ -0,0 +1,98 @@
|
||||
-- parent = default:air
|
||||
--
|
||||
-- hasHalfTransparency
|
||||
-- collideBox = {}
|
||||
-- plantLike = {}
|
||||
-- nodebox = {}
|
||||
|
||||
local node_template = {
|
||||
parent = "default:normal" or node_template,
|
||||
render = {
|
||||
has_half_transparency = false
|
||||
},
|
||||
collision = {
|
||||
|
||||
},
|
||||
events = {
|
||||
|
||||
},
|
||||
node_advancement_factory = function(world_id, node_pos)
|
||||
local node_advancement = {
|
||||
onLoad = function(data)
|
||||
|
||||
end,
|
||||
onSave = function()
|
||||
return {}
|
||||
end
|
||||
}
|
||||
|
||||
return node_advancement
|
||||
end
|
||||
|
||||
}
|
||||
|
||||
local instance = {}
|
||||
|
||||
--[[
|
||||
Движок автоматически подгружает ассеты из папки assets
|
||||
В этом методе можно зарегистрировать ассеты из иных источников
|
||||
Состояния нод, частицы, анимации, модели, текстуры, звуки, шрифты
|
||||
]]--
|
||||
function instance.assetsInit()
|
||||
end
|
||||
|
||||
--[[
|
||||
*preInit. События для регистрации определений игрового контента
|
||||
Ноды, воксели, миры, порталы, сущности, предметы
|
||||
]]--
|
||||
function instance.lowPreInit()
|
||||
end
|
||||
|
||||
--[[
|
||||
До вызова preInit будет выполнена регистрация
|
||||
контента из файлов в папке content
|
||||
]]--
|
||||
function instance.preInit()
|
||||
local node_air = {}
|
||||
|
||||
node_air.hasHalfTransparency = false
|
||||
node_air.collideBox = nil
|
||||
node_air.render = nil
|
||||
|
||||
core.register_node('test0', {})
|
||||
core.register_node('test1', {})
|
||||
core.register_node('test2', {})
|
||||
core.register_node('test3', {})
|
||||
core.register_node('test4', {})
|
||||
core.register_node('test5', {})
|
||||
end
|
||||
|
||||
function instance.highPreInit()
|
||||
end
|
||||
|
||||
--[[
|
||||
На этом этапе можно наложить изменения
|
||||
на зарегистрированный другими модами контент
|
||||
]]--
|
||||
function instance.init()
|
||||
end
|
||||
|
||||
function instance.postInit()
|
||||
end
|
||||
|
||||
function instance.preDeInit()
|
||||
end
|
||||
|
||||
function instance.deInit()
|
||||
end
|
||||
|
||||
function instance.postDeInit()
|
||||
core.unregister_node('test0')
|
||||
core.unregister_node('test1')
|
||||
core.unregister_node('test2')
|
||||
core.unregister_node('test3')
|
||||
core.unregister_node('test4')
|
||||
core.unregister_node('test5')
|
||||
end
|
||||
|
||||
return instance
|
||||
9
mods/test/mod.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"id": "test",
|
||||
"name": "Test Mod",
|
||||
"description": "Это тестовый мод",
|
||||
"depends": [],
|
||||
"optional_depends": [],
|
||||
"author": "DrSocalkwe3n",
|
||||
"version": [0, 0, 0, 1]
|
||||
}
|
||||