summaryrefslogtreecommitdiff
path: root/server/src/entity/mod.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-17 16:57:23 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-17 16:57:34 +0200
commit7cacd111e2b443bac291244b168c20e2c8bf69ec (patch)
tree277ace5a4e8223df4b156e766c2660406101a82b /server/src/entity/mod.rs
parent77a73b415888b0285ba64b27c3f69440216e475c (diff)
downloadhurrycurry-7cacd111e2b443bac291244b168c20e2c8bf69ec.tar
hurrycurry-7cacd111e2b443bac291244b168c20e2c8bf69ec.tar.bz2
hurrycurry-7cacd111e2b443bac291244b168c20e2c8bf69ec.tar.zst
add hint-based tutorial for item crafting
Diffstat (limited to 'server/src/entity/mod.rs')
-rw-r--r--server/src/entity/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/entity/mod.rs b/server/src/entity/mod.rs
index 70c5c785..f87dbb32 100644
--- a/server/src/entity/mod.rs
+++ b/server/src/entity/mod.rs
@@ -59,6 +59,9 @@ pub trait Entity {
fn tick(&mut self, _c: EntityContext<'_>) -> Result<()> {
Ok(())
}
+ fn finished(&self) -> bool {
+ false
+ }
fn destructor(&mut self, _c: EntityContext<'_>) {}
fn interact(
&mut self,