Add host-validated multiplayer shop purchases

This commit is contained in:
Alexander Sellite 2026-07-29 18:51:51 -04:00
parent f7044669a8
commit 5e04b70609
12 changed files with 932 additions and 52 deletions

View file

@ -21,6 +21,14 @@ func is_local_player_in_range() -> bool:
return _local_player_in_range
func is_avatar_in_range(avatar: Player) -> bool:
return (
avatar != null
and is_instance_valid(avatar)
and avatar in get_overlapping_bodies()
)
func _refresh_overlaps() -> void:
var is_overlapping: bool = (
_local_player != null