diff --git a/maps/station.tscn b/maps/station.tscn index af3fc6c..bfeff08 100644 --- a/maps/station.tscn +++ b/maps/station.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=37 format=2] +[gd_scene load_steps=38 format=2] [ext_resource path="res://maps/station.gd" type="Script" id=1] [ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=2] @@ -34,6 +34,7 @@ [ext_resource path="res://ui/theme.tres" type="Theme" id=32] [ext_resource path="res://graphics/hatch/hatch.png" type="Texture" id=33] [ext_resource path="res://graphics/turniwood/turning_platoform_lab.png" type="Texture" id=34] +[ext_resource path="res://objects/npc/speccy.tscn" type="PackedScene" id=35] [sub_resource type="Animation" id=2] resource_name = "open" @@ -569,3 +570,13 @@ margin_bottom = 221.0 theme = ExtResource( 32 ) text = "Help me get outta here!" + +[node name="SpeccyDetection" type="VisibilityNotifier2D" parent="."] +position = Vector2( 384, 136 ) +rect = Rect2( -10, -20, 20, 20 ) + +[node name="Speccy" parent="SpeccyDetection" instance=ExtResource( 35 )] +flip = true +message = "kill_em_all" + +[connection signal="screen_entered" from="SpeccyDetection" to="SpeccyDetection/Speccy" method="appear"]