aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-07-06 09:14:35 +0800
committer简律纯 <i@jyunko.cn>2024-07-06 09:14:35 +0800
commit9558df091151d58aa7433c79ac3b8e050674c6fc (patch)
treebfec4b888660354235cc4ff37c193d4182fe667c
parent0ed10486f719c23ab7e0e84d2e119a7fa5f70475 (diff)
downloadHydroRollCore-9558df091151d58aa7433c79ac3b8e050674c6fc.tar.gz
HydroRollCore-9558df091151d58aa7433c79ac3b8e050674c6fc.zip
chore: move COC7 folder into rules folder
-rw-r--r--examples/config.toml2
-rw-r--r--examples/main.py6
-rw-r--r--examples/rules/COC7/Character.py (renamed from examples/COC7/Character.py)0
-rw-r--r--examples/rules/COC7/Wiki.py (renamed from examples/COC7/Wiki.py)0
-rw-r--r--examples/rules/COC7/__init__.py (renamed from examples/COC7/__init__.py)0
5 files changed, 8 insertions, 0 deletions
diff --git a/examples/config.toml b/examples/config.toml
new file mode 100644
index 0000000..4e5e2fe
--- /dev/null
+++ b/examples/config.toml
@@ -0,0 +1,2 @@
+[core]
+rule_dirs = ["rules"] \ No newline at end of file
diff --git a/examples/main.py b/examples/main.py
new file mode 100644
index 0000000..c8b43e0
--- /dev/null
+++ b/examples/main.py
@@ -0,0 +1,6 @@
+from hrc.core import Core
+
+core = Core(hot_reload=True)
+
+if __name__ == '__main__':
+ core.run()
diff --git a/examples/COC7/Character.py b/examples/rules/COC7/Character.py
index bb30661..bb30661 100644
--- a/examples/COC7/Character.py
+++ b/examples/rules/COC7/Character.py
diff --git a/examples/COC7/Wiki.py b/examples/rules/COC7/Wiki.py
index b97f717..b97f717 100644
--- a/examples/COC7/Wiki.py
+++ b/examples/rules/COC7/Wiki.py
diff --git a/examples/COC7/__init__.py b/examples/rules/COC7/__init__.py
index 25acdaa..25acdaa 100644
--- a/examples/COC7/__init__.py
+++ b/examples/rules/COC7/__init__.py