aboutsummaryrefslogtreecommitdiffstats
path: root/src/entity.c
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-10-25 05:24:51 +0000
committernathan <nathansmith@disroot.org>2025-10-25 05:24:51 +0000
commite7ef990a0a3b1ddf40a2f0d517e8eb4e261b1f80 (patch)
tree41eca7b2c9ec626b6522508efe400923165d624d /src/entity.c
parent8874e4a585d66c16299ad45e79ea6c55960dee02 (diff)
downloadFindThings-e7ef990a0a3b1ddf40a2f0d517e8eb4e261b1f80.tar.gz
FindThings-e7ef990a0a3b1ddf40a2f0d517e8eb4e261b1f80.tar.bz2
FindThings-e7ef990a0a3b1ddf40a2f0d517e8eb4e261b1f80.zip
Lots of little things I should have done already
Diffstat (limited to 'src/entity.c')
-rw-r--r--src/entity.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/entity.c b/src/entity.c
index 70a7db5..93d713a 100644
--- a/src/entity.c
+++ b/src/entity.c
@@ -215,6 +215,17 @@ void placeEntityOnGround(Entity* entity, const World* world)
setEntityPosition(entity, position);
}
+bool entityIsPlace(EntityId id)
+{
+ switch (id)
+ {
+ case POND:
+ case SAMANTHAS_SPOT:
+ return true;
+ default:
+ return false;
+ }
+}
InteractionCommand interactWithOldMint(Entity* entity, Game* game,
Selection selection)