From f4e83d48a0e355707dbe6912b4c585436757bb6e Mon Sep 17 00:00:00 2001 From: Lucas Fryzek Date: Thu, 20 Mar 2025 23:01:42 +0000 Subject: Add skeleton for gathering --- main.rhm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main.rhm') diff --git a/main.rhm b/main.rhm index 6911dc0..91d62f6 100644 --- a/main.rhm +++ b/main.rhm @@ -47,5 +47,9 @@ entity.current_chunk.set_tile(0, 1, world.Tile(#'wall_north)) test(!entity.move(0, 0), "Blocked by wall") test(entity.move(1,1), "Move by wall") +reset_entity(entity, 0, 0) +let other_ent = world.Entity(1, 1, 1, chunk) +test(entity.gather(other_ent), "Gathering") + //world.entities //println(@str{Entity is @(entity.x) @(entity.y)}) -- cgit v1.2.3