diff options
author | nokoe <nokoe@mailbox.org> | 2024-06-20 15:46:47 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-23 19:24:32 +0200 |
commit | eb446e1f786cbfe9af7f2ececca02f53d46d1ee4 (patch) | |
tree | 3845a839a9f78dd9d29921bd7570a18c7da86407 | |
parent | 7fc559d2967dd235f72ad0fd04d5e13c31486e98 (diff) | |
download | hurrycurry-eb446e1f786cbfe9af7f2ececca02f53d46d1ee4.tar hurrycurry-eb446e1f786cbfe9af7f2ececca02f53d46d1ee4.tar.bz2 hurrycurry-eb446e1f786cbfe9af7f2ececca02f53d46d1ee4.tar.zst |
better names in scene tree
-rw-r--r-- | client/scripts/map/counter_base.gd | 2 | ||||
-rw-r--r-- | client/scripts/map/floor.gd | 1 | ||||
-rw-r--r-- | client/scripts/map/full_tile.gd | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/client/scripts/map/counter_base.gd b/client/scripts/map/counter_base.gd index c32cb070..19c7f045 100644 --- a/client/scripts/map/counter_base.gd +++ b/client/scripts/map/counter_base.gd @@ -1,5 +1,5 @@ -extends Counter class_name CounterBase +extends Counter func setup(rename: String, neighbors: Array): super.setup(rename, neighbors) diff --git a/client/scripts/map/floor.gd b/client/scripts/map/floor.gd index d4e61c2d..a8a396c4 100644 --- a/client/scripts/map/floor.gd +++ b/client/scripts/map/floor.gd @@ -12,6 +12,7 @@ enum Facing { func setup(rename: String, _neighbors: Array): add_child(load("res://models/prefabs/map/floor_kitchen_small.tscn").instantiate()) + base.name = "Base" add_child(base) self.name = rename diff --git a/client/scripts/map/full_tile.gd b/client/scripts/map/full_tile.gd index c05e0457..a986b053 100644 --- a/client/scripts/map/full_tile.gd +++ b/client/scripts/map/full_tile.gd @@ -9,5 +9,7 @@ func setup(rename: String, neighbors: Array): var box = BoxShape3D.new() shape.position.y += .5 shape.shape = box + shape.name = "Box" static_body.add_child(shape) + static_body.name = "Body" base.add_child(static_body) |