Make players mobs too !

This commit is contained in:
2026-09-30 10:42:52 -03:00
parent 65f27d6099
commit 4fbcca6851
23 changed files with 314 additions and 132 deletions
+1 -1
View File
@@ -782,7 +782,7 @@ function player_api(game: GameServer, player: ServerPlayer): Player {
game.teleport(player, x, y, z);
},
get health() {
return player.vitals.health;
return player.health;
},
max_health: MAX_HEALTH,
get food() {