summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-05-12 21:51:37 +0200
committertroido <troido@protonmail.com>2020-05-12 21:51:37 +0200
commit1b380b31f50035f10f651e220effe8a2970c0fd5 (patch)
tree5a25b839a4ee70ba96f7f096161ea59c08842492 /src/components
parent6c5b15758fbceef7987b40ee50a71ddc9624372d (diff)
removed 'substitute' part of encyclopedia
Diffstat (limited to 'src/components')
-rw-r--r--src/components/mod.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/mod.rs b/src/components/mod.rs
index 394284a..ee5176e 100644
--- a/src/components/mod.rs
+++ b/src/components/mod.rs
@@ -253,3 +253,15 @@ pub struct Minable {
pub total: i64,
pub trigger: Trigger
}
+
+#[derive(Component, Debug, Clone)]
+pub struct OnSpawn {
+ pub trigger: Trigger
+}
+
+
+#[derive(Component, Debug, Clone)]
+pub struct Substitute {
+ pub into: Template
+}
+