Made the mod just about functional

This commit is contained in:
Mnem42 2025-06-29 14:22:39 +01:00
parent 1892df648d
commit 99dbc85a63
3 changed files with 2404 additions and 0 deletions

2365
mods/fancy-loader.js Normal file

File diff suppressed because it is too large Load Diff

25
mods/loader_test/mod.toml Normal file
View File

@ -0,0 +1,25 @@
[mod]
name = "test-finder"
version = "0.1.0"
entry_point = ""
external_elements = [
{path = "mods/loader_test/test_element.toml", name = "test_element"},
]
[elements]
# [elements.test_element]
# name = "test_element"
# color = ["#FF00FF", "#00FF00"]
# state = "solid"
# behaviour = [["XX","XX","XX"],["XX","XX","XX"],["XX","XX","XX"]]
# category = "solids"
# tempHigh = 100
# stateHigh = "gold"
# density = 100
# conduct = 1.0
# [elements.test_element.reactions]
# water = {elem = "ash", elem2 = "pop"}
# cement = {elem1 = "sand"}
# blood = {elem1 = "n_explosion"}

View File

@ -0,0 +1,14 @@
name = "test_element_b"
color = ["#FF00FF", "#00FF00"]
state = "solid"
behaviour = [["XX","XX","XX"],["XX","XX","XX"],["XX","XX","XX"]]
category = "solids"
tempHigh = 100
stateHigh = "gold"
density = 100
conduct = 1.0
[reactions]
water = {elem = "ash", elem2 = "pop"}
cement = {elem1 = "sand"}
blood = {elem1 = "n_explosion"}