feat: score resource discovery by comfort and safety
This commit is contained in:
@@ -156,6 +156,11 @@ func _test_legacy_resource_migration() -> void:
|
||||
is_equal_approx(migrated.get_amount_remaining(), 6.0) and migrated.get_reserved_by() == 12,
|
||||
"Resource migration should preserve mutable authority"
|
||||
)
|
||||
_check(
|
||||
is_equal_approx(migrated.get_safety_risk(), 0.0)
|
||||
and is_equal_approx(migrated.get_comfort_distance(), 18.0),
|
||||
"Resource migration should default discovery metadata"
|
||||
)
|
||||
|
||||
|
||||
func _test_legacy_npc_migration() -> void:
|
||||
|
||||
Reference in New Issue
Block a user