feat: Add core player entity with movement, race, input, character selection, and multiplayer synchronization, integrating various game managers.

This commit is contained in:
Yogi Wiguna
2026-02-23 15:57:41 +08:00
parent 8a5c25be23
commit 3a5e6ad703
4 changed files with 54 additions and 66 deletions
+1 -1
View File
@@ -282,7 +282,7 @@ func randomize_floor(floor_index: int, custom_rng_callable: Callable = Callable(
# IMPORTANT: Only place items if Floor 0 has a valid ground tile (Walkable, Safe Zone, etc)
var floor_0_item = get_cell_item(Vector3i(x, 0, z))
var is_ground = (floor_0_item != -1) # All tiles on Layer 0 are valid ground
var is_ground = (floor_0_item != -1 and not floor_0_item in non_walkable_items)
if not is_ground:
set_cell_item(Vector3i(x, floor_index, z), -1) # Clear item if no ground