M2.5: wildlife, wolves, hunting, fishing and sleeping on the server
This commit is contained in:
@@ -68,7 +68,7 @@ func _body() -> void:
|
||||
var sp: Vector3 = Net.world_info.spawn
|
||||
check(Vector2(player.global_position.x - sp.x, player.global_position.z - sp.z).length() < 1.0, "Alice starts where the server put her")
|
||||
check(not world.creatures.enabled and world.creatures.alive().is_empty() and world.wolves == null,
|
||||
"no local-only animals while online (the server will run them in M2.5)")
|
||||
"no animals of her game's own while online (the server runs them: test_net_life.gd)")
|
||||
check(world.day_night.day == int(Net.world_info.day) and absf(world.day_night.time - float(Net.world_info.time)) < 0.01,
|
||||
"the clock follows the server (%s)" % world.day_night.clock_text())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user