This commit is contained in:
Segey Lapin
2021-10-26 21:51:45 +03:00
commit d6c8a24f5a
58 changed files with 271059 additions and 0 deletions

15
objects/house.gd Normal file
View File

@@ -0,0 +1,15 @@
extends Spatial
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
for g in get_children():
if g.name.begins_with("spawn"):
g.add_to_group("spawn")
$spawn_npc1.add_to_group("keep")