From 2e8ed847c9cfe6d4e42552419560a7427c36486b Mon Sep 17 00:00:00 2001 From: Hamcha Date: Tue, 7 Jul 2020 14:20:04 +0200 Subject: [PATCH] Interlocking doors --- Actors/Objects/Door/Door.gd | 7 ++ Actors/Objects/Lightbulb/Lightbulb.gd | 4 +- Actors/Objects/Lightbulb/Lightbulb.tscn | 1 - Scenes/Maps/odyssey.tscn | 109 +++++++++++++++++++----- 4 files changed, 98 insertions(+), 23 deletions(-) diff --git a/Actors/Objects/Door/Door.gd b/Actors/Objects/Door/Door.gd index 0cf020e..da5ab79 100644 --- a/Actors/Objects/Door/Door.gd +++ b/Actors/Objects/Door/Door.gd @@ -2,17 +2,24 @@ extends StaticBody2D class_name GameObjectDoor +export(NodePath) var interlockTargetPath +var interlockTarget: GameObjectDoor = null + onready var activationRange = $ActivationRange as ActivationRange signal changed(open) func _ready(): + if interlockTargetPath != null: + interlockTarget = get_node_or_null(interlockTargetPath) if not Engine.editor_hint: activationRange.visible = true func set_open(open: bool): if open: $Sprite.play("open") + if interlockTarget != null: + interlockTarget.set_open(false) else: $Sprite.play("close") diff --git a/Actors/Objects/Lightbulb/Lightbulb.gd b/Actors/Objects/Lightbulb/Lightbulb.gd index dab51c8..e4c75c4 100644 --- a/Actors/Objects/Lightbulb/Lightbulb.gd +++ b/Actors/Objects/Lightbulb/Lightbulb.gd @@ -38,10 +38,10 @@ func refresh_sprite(): rot = PI Direction.LEFT: $light.region_rect.position = Vector2(96, lit_offset) - rot = PI/2 + rot = -PI/2 Direction.RIGHT: $light.region_rect.position = Vector2(64, lit_offset) - rot = -PI/2 + rot = PI/2 $Light2D.rotation = rot $ActivationRange.rotation = rot diff --git a/Actors/Objects/Lightbulb/Lightbulb.tscn b/Actors/Objects/Lightbulb/Lightbulb.tscn index 76b6fcb..63dc150 100644 --- a/Actors/Objects/Lightbulb/Lightbulb.tscn +++ b/Actors/Objects/Lightbulb/Lightbulb.tscn @@ -21,7 +21,6 @@ region_rect = Rect2( 32, 0, 32, 32 ) [node name="Light2D" type="Light2D" parent="."] texture = ExtResource( 1 ) -offset = Vector2( 0, -10 ) texture_scale = 3.5 energy = 1.2 mode = 2 diff --git a/Scenes/Maps/odyssey.tscn b/Scenes/Maps/odyssey.tscn index 601f0ef..3756d5c 100644 --- a/Scenes/Maps/odyssey.tscn +++ b/Scenes/Maps/odyssey.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=12 format=2] +[gd_scene load_steps=11 format=2] [ext_resource path="res://Graphics/tgstation/2x2.tres" type="TileSet" id=1] [ext_resource path="res://Graphics/tgstation/1x1.tres" type="TileSet" id=2] @@ -8,7 +8,6 @@ [ext_resource path="res://Actors/Objects/Computer/Computer.tscn" type="PackedScene" id=6] [ext_resource path="res://Graphics/space.png" type="Texture" id=7] [ext_resource path="res://Actors/Objects/Lightbulb/Lightbulb.tscn" type="PackedScene" id=8] -[ext_resource path="res://Graphics/white.png" type="Texture" id=9] [ext_resource path="res://Actors/Objects/Engine/Engine.tscn" type="PackedScene" id=10] [sub_resource type="CanvasItemMaterial" id=1] @@ -19,23 +18,10 @@ script = ExtResource( 5 ) tilemap_path = NodePath("2x2") unlit = true -[node name="editor" type="Node2D" parent="."] - -[node name="editorDarkness" type="CanvasModulate" parent="editor"] +[node name="darkness" type="CanvasModulate" parent="."] color = Color( 0, 0, 0, 1 ) -[node name="editorLight" type="Light2D" parent="editor"] -position = Vector2( 80, 256 ) -scale = Vector2( 35, 10 ) -texture = ExtResource( 9 ) -energy = 0.7 - -[node name="darkness" type="Light2D" parent="."] -visible = false -position = Vector2( 80, 256 ) -scale = Vector2( 35, 10 ) -texture = ExtResource( 9 ) -mode = 1 +[node name="editor" type="Node2D" parent="."] [node name="deepspace" type="Sprite" parent="."] material = SubResource( 1 ) @@ -53,7 +39,7 @@ cell_size = Vector2( 32, 32 ) cell_quadrant_size = 32 occluder_light_mask = -2147483647 format = 1 -tile_data = PoolIntArray( 262137, 2, 0, 262138, 3, 0, 262139, 2, 0, 262140, 2, 0, 262141, 3, 0, 262142, 2, 0, 262143, 2, 0, 196608, 2, 0, 196609, 2, 0, 196610, 2, 0, 196611, 3, 0, 196612, 3, 0, 196613, 2, 0, 196614, 2, 0, 196615, 2, 0, 196616, 3, 0, 196617, 3, 0, 196618, 2, 0, 196619, 2, 0, 196620, 2, 0, 196621, 2, 0, 196622, 2, 0, 196623, 2, 0, 196624, 2, 0, 196625, 2, 0, 196626, 2, 0, 196627, 2, 0, 327673, 2, 0, 327674, 1, 0, 327675, 1, 0, 327676, 1, 0, 327677, 1, 0, 327678, 1, 0, 327679, 2, 0, 262144, 1, 0, 262145, 1, 0, 262146, 1, 0, 262147, 1, 0, 262148, 1, 0, 262149, 1, 0, 262150, 1, 0, 262151, 1, 0, 262152, 1, 0, 262153, 1, 0, 262154, 1, 0, 262155, 1, 0, 262156, 1, 0, 262157, 2, 0, 262158, 1, 0, 262159, 1, 0, 262160, 1, 0, 262161, 1, 0, 262162, 1, 0, 262163, 3, 0, 393209, 2, 0, 393210, 1, 0, 393211, 1, 0, 393212, 1, 0, 393213, 1, 0, 393214, 1, 0, 393215, 2, 0, 327680, 1, 0, 327681, 1, 0, 327682, 1, 0, 327683, 1, 0, 327684, 1, 0, 327685, 1, 0, 327686, 1, 0, 327687, 1, 0, 327688, 1, 0, 327689, 1, 0, 327690, 1, 0, 327691, 1, 0, 327692, 1, 0, 327693, 2, 0, 327694, 1, 0, 327695, 1, 0, 327696, 1, 0, 327697, 1, 0, 327698, 1, 0, 327699, 3, 0, 458740, 2, 0, 458741, 3, 0, 458742, 3, 0, 458743, 3, 0, 458744, 2, 0, 458745, 2, 0, 458746, 1, 0, 458747, 1, 0, 458748, 1, 0, 458749, 1, 0, 458750, 1, 0, 458751, 1, 0, 393216, 1, 0, 393217, 1, 0, 393218, 1, 0, 393219, 1, 0, 393220, 1, 0, 393221, 1, 0, 393222, 1, 0, 393223, 1, 0, 393224, 1, 0, 393225, 1, 0, 393226, 1, 0, 393227, 1, 0, 393228, 1, 0, 393229, 1, 0, 393230, 1, 0, 393231, 1, 0, 393232, 1, 0, 393233, 1, 0, 393234, 1, 0, 393235, 3, 0, 524276, 2, 0, 524277, 1, 0, 524278, 1, 0, 524279, 1, 0, 524280, 1, 0, 524281, 1, 0, 524282, 1, 0, 524283, 1, 0, 524284, 1, 0, 524285, 1, 0, 524286, 1, 0, 524287, 2, 0, 458752, 1, 0, 458753, 1, 0, 458754, 1, 0, 458755, 1, 0, 458756, 1, 0, 458757, 1, 0, 458758, 1, 0, 458759, 1, 0, 458760, 1, 0, 458761, 1, 0, 458762, 1, 0, 458763, 1, 0, 458764, 1, 0, 458765, 3, 0, 458766, 1, 0, 458767, 1, 0, 458768, 1, 0, 458769, 1, 0, 458770, 1, 0, 458771, 3, 0, 589812, 2, 0, 589813, 1, 0, 589814, 1, 0, 589815, 1, 0, 589816, 1, 0, 589817, 1, 0, 589818, 1, 0, 589819, 1, 0, 589820, 1, 0, 589821, 1, 0, 589822, 1, 0, 589823, 2, 0, 524288, 1, 0, 524289, 1, 0, 524290, 1, 0, 524291, 1, 0, 524292, 1, 0, 524293, 1, 0, 524294, 1, 0, 524295, 1, 0, 524296, 1, 0, 524297, 1, 0, 524298, 1, 0, 524299, 1, 0, 524300, 1, 0, 524301, 3, 0, 524302, 1, 0, 524303, 1, 0, 524304, 1, 0, 524305, 1, 0, 524306, 1, 0, 524307, 3, 0, 655348, 2, 0, 655349, 3, 0, 655350, 3, 0, 655351, 3, 0, 655352, 2, 0, 655353, 2, 0, 655354, 1, 0, 655355, 1, 0, 655356, 1, 0, 655357, 1, 0, 655358, 1, 0, 655359, 1, 0, 589824, 1, 0, 589825, 1, 0, 589826, 1, 0, 589827, 1, 0, 589828, 1, 0, 589829, 1, 0, 589830, 1, 0, 589831, 1, 0, 589832, 1, 0, 589833, 1, 0, 589834, 1, 0, 589835, 1, 0, 589836, 1, 0, 589837, 1, 0, 589838, 1, 0, 589839, 1, 0, 589840, 1, 0, 589841, 1, 0, 589842, 1, 0, 589843, 3, 0, 720889, 2, 0, 720890, 1, 0, 720891, 1, 0, 720892, 1, 0, 720893, 1, 0, 720894, 1, 0, 720895, 2, 0, 655360, 1, 0, 655361, 1, 0, 655362, 1, 0, 655363, 1, 0, 655364, 1, 0, 655365, 1, 0, 655366, 1, 0, 655367, 1, 0, 655368, 1, 0, 655369, 1, 0, 655370, 1, 0, 655371, 1, 0, 655372, 1, 0, 655373, 2, 0, 655374, 1, 0, 655375, 1, 0, 655376, 1, 0, 655377, 1, 0, 655378, 1, 0, 655379, 3, 0, 786425, 2, 0, 786426, 1, 0, 786427, 1, 0, 786428, 1, 0, 786429, 1, 0, 786430, 1, 0, 786431, 2, 0, 720896, 1, 0, 720897, 1, 0, 720898, 1, 0, 720899, 1, 0, 720900, 1, 0, 720901, 1, 0, 720902, 1, 0, 720903, 1, 0, 720904, 1, 0, 720905, 1, 0, 720906, 1, 0, 720907, 1, 0, 720908, 1, 0, 720909, 2, 0, 720910, 1, 0, 720911, 1, 0, 720912, 1, 0, 720913, 1, 0, 720914, 1, 0, 720915, 3, 0, 851961, 2, 0, 851962, 3, 0, 851963, 2, 0, 851964, 2, 0, 851965, 3, 0, 851966, 2, 0, 851967, 2, 0, 786432, 2, 0, 786433, 2, 0, 786434, 2, 0, 786435, 2, 0, 786436, 3, 0, 786437, 3, 0, 786438, 1, 0, 786439, 3, 0, 786440, 3, 0, 786441, 2, 0, 786442, 2, 0, 786443, 2, 0, 786444, 2, 0, 786445, 2, 0, 786446, 2, 0, 786447, 2, 0, 786448, 2, 0, 786449, 2, 0, 786450, 2, 0, 786451, 2, 0 ) +tile_data = PoolIntArray( -589821, 2, 0, -589820, 1, 0, -589819, 2, 0, -458763, 2, 0, -458762, 2, 0, -458761, 2, 0, -458760, 2, 0, -458759, 2, 0, -458758, 2, 0, -458757, 2, 0, -458754, 2, 0, -458753, 2, 0, -524288, 3, 0, -524287, 3, 0, -524286, 2, 0, -524285, 2, 0, -524284, 1, 0, -524283, 2, 0, -524282, 3, 0, -524281, 3, 0, -524280, 2, 0, -524279, 2, 0, -524278, 2, 0, -393227, 2, 0, -393226, 1, 0, -393225, 1, 0, -393224, 1, 0, -393223, 1, 0, -393222, 1, 0, -393221, 2, 0, -393220, 2, 0, -393219, 3, 0, -393218, 2, 0, -393217, 1, 0, -458752, 1, 0, -458751, 1, 0, -458750, 1, 0, -458749, 2, 0, -458748, 1, 0, -458747, 2, 0, -458746, 1, 0, -458745, 1, 0, -458744, 1, 0, -458743, 1, 0, -458742, 2, 0, -458741, 2, 0, -327691, 2, 0, -327690, 1, 0, -327689, 1, 0, -327688, 1, 0, -327687, 1, 0, -327686, 1, 0, -327685, 1, 0, -327684, 3, 0, -327683, 1, 0, -327682, 1, 0, -327681, 1, 0, -393216, 1, 0, -393215, 1, 0, -393214, 1, 0, -393213, 1, 0, -393212, 1, 0, -393211, 1, 0, -393210, 1, 0, -393209, 1, 0, -393208, 1, 0, -393207, 1, 0, -393206, 1, 0, -393205, 2, 0, -262155, 2, 0, -262154, 1, 0, -262153, 1, 0, -262152, 1, 0, -262151, 1, 0, -262150, 1, 0, -262149, 1, 0, -262148, 1, 0, -262147, 1, 0, -262146, 1, 0, -262145, 1, 0, -327680, 1, 0, -327679, 1, 0, -327678, 1, 0, -327677, 1, 0, -327676, 1, 0, -327675, 1, 0, -327674, 1, 0, -327673, 1, 0, -327672, 1, 0, -327671, 1, 0, -327670, 1, 0, -327669, 3, 0, -196619, 2, 0, -196618, 1, 0, -196617, 1, 0, -196616, 1, 0, -196615, 1, 0, -196614, 1, 0, -196613, 1, 0, -196612, 1, 0, -196611, 1, 0, -196610, 1, 0, -196609, 1, 0, -262144, 1, 0, -262143, 1, 0, -262142, 1, 0, -262141, 1, 0, -262140, 1, 0, -262139, 1, 0, -262138, 1, 0, -262137, 1, 0, -262136, 1, 0, -262135, 1, 0, -262134, 1, 0, -262133, 3, 0, -131083, 2, 0, -131082, 1, 0, -131081, 1, 0, -131080, 1, 0, -131079, 1, 0, -131078, 1, 0, -131077, 1, 0, -131076, 3, 0, -131075, 1, 0, -131074, 1, 0, -131073, 1, 0, -196608, 1, 0, -196607, 1, 0, -196606, 1, 0, -196605, 1, 0, -196604, 1, 0, -196603, 1, 0, -196602, 1, 0, -196601, 1, 0, -196600, 1, 0, -196599, 1, 0, -196598, 1, 0, -196597, 2, 0, -65547, 2, 0, -65546, 1, 0, -65545, 1, 0, -65544, 1, 0, -65543, 1, 0, -65542, 1, 0, -65541, 2, 0, -65540, 2, 0, -65539, 3, 0, -65538, 2, 0, -65537, 1, 0, -131072, 1, 0, -131071, 1, 0, -131070, 1, 0, -131069, 1, 0, -131068, 1, 0, -131067, 1, 0, -131066, 1, 0, -131065, 1, 0, -131064, 1, 0, -131063, 1, 0, -131062, 2, 0, -131061, 2, 0, -11, 2, 0, -10, 2, 0, -9, 2, 0, -8, 2, 0, -7, 2, 0, -6, 2, 0, -5, 2, 0, -2, 2, 0, -1, 2, 0, -65536, 2, 0, -65535, 2, 0, -65534, 2, 0, -65533, 2, 0, -65532, 2, 0, -65531, 2, 0, -65530, 1, 0, -65529, 2, 0, -65528, 2, 0, -65527, 2, 0, -65526, 2, 0, 5, 3, 0, 6, 1, 0, 7, 3, 0, 65541, 3, 0, 65542, 1, 0, 65543, 3, 0, 131077, 3, 0, 131078, 1, 0, 131079, 3, 0, 262137, 2, 0, 262138, 3, 0, 262139, 2, 0, 262140, 2, 0, 262141, 3, 0, 262142, 2, 0, 262143, 2, 0, 196608, 2, 0, 196609, 2, 0, 196610, 2, 0, 196611, 3, 0, 196612, 3, 0, 196613, 2, 0, 196614, 1, 0, 196615, 2, 0, 196616, 3, 0, 196617, 3, 0, 196618, 2, 0, 196619, 2, 0, 196620, 2, 0, 196621, 2, 0, 196622, 2, 0, 196623, 2, 0, 196624, 2, 0, 196625, 2, 0, 196626, 2, 0, 196627, 2, 0, 327673, 2, 0, 327674, 1, 0, 327675, 1, 0, 327676, 1, 0, 327677, 1, 0, 327678, 1, 0, 327679, 2, 0, 262144, 1, 0, 262145, 1, 0, 262146, 1, 0, 262147, 1, 0, 262148, 1, 0, 262149, 1, 0, 262150, 1, 0, 262151, 1, 0, 262152, 1, 0, 262153, 1, 0, 262154, 1, 0, 262155, 1, 0, 262156, 1, 0, 262157, 2, 0, 262158, 1, 0, 262159, 1, 0, 262160, 1, 0, 262161, 1, 0, 262162, 1, 0, 262163, 3, 0, 393209, 2, 0, 393210, 1, 0, 393211, 1, 0, 393212, 1, 0, 393213, 1, 0, 393214, 1, 0, 393215, 2, 0, 327680, 1, 0, 327681, 1, 0, 327682, 1, 0, 327683, 1, 0, 327684, 1, 0, 327685, 1, 0, 327686, 1, 0, 327687, 1, 0, 327688, 1, 0, 327689, 1, 0, 327690, 1, 0, 327691, 1, 0, 327692, 1, 0, 327693, 2, 0, 327694, 1, 0, 327695, 1, 0, 327696, 1, 0, 327697, 1, 0, 327698, 1, 0, 327699, 3, 0, 458740, 2, 0, 458741, 3, 0, 458742, 3, 0, 458743, 3, 0, 458744, 2, 0, 458745, 2, 0, 458746, 1, 0, 458747, 1, 0, 458748, 1, 0, 458749, 1, 0, 458750, 1, 0, 458751, 1, 0, 393216, 1, 0, 393217, 1, 0, 393218, 1, 0, 393219, 1, 0, 393220, 1, 0, 393221, 1, 0, 393222, 1, 0, 393223, 1, 0, 393224, 1, 0, 393225, 1, 0, 393226, 1, 0, 393227, 1, 0, 393228, 1, 0, 393229, 1, 0, 393230, 1, 0, 393231, 1, 0, 393232, 1, 0, 393233, 1, 0, 393234, 1, 0, 393235, 3, 0, 524276, 2, 0, 524277, 1, 0, 524278, 1, 0, 524279, 1, 0, 524280, 1, 0, 524281, 1, 0, 524282, 1, 0, 524283, 1, 0, 524284, 1, 0, 524285, 1, 0, 524286, 1, 0, 524287, 2, 0, 458752, 1, 0, 458753, 1, 0, 458754, 1, 0, 458755, 1, 0, 458756, 1, 0, 458757, 1, 0, 458758, 1, 0, 458759, 1, 0, 458760, 1, 0, 458761, 1, 0, 458762, 1, 0, 458763, 1, 0, 458764, 1, 0, 458765, 3, 0, 458766, 1, 0, 458767, 1, 0, 458768, 1, 0, 458769, 1, 0, 458770, 1, 0, 458771, 3, 0, 589812, 2, 0, 589813, 1, 0, 589814, 1, 0, 589815, 1, 0, 589816, 1, 0, 589817, 1, 0, 589818, 1, 0, 589819, 1, 0, 589820, 1, 0, 589821, 1, 0, 589822, 1, 0, 589823, 2, 0, 524288, 1, 0, 524289, 1, 0, 524290, 1, 0, 524291, 1, 0, 524292, 1, 0, 524293, 1, 0, 524294, 1, 0, 524295, 1, 0, 524296, 1, 0, 524297, 1, 0, 524298, 1, 0, 524299, 1, 0, 524300, 1, 0, 524301, 3, 0, 524302, 1, 0, 524303, 1, 0, 524304, 1, 0, 524305, 1, 0, 524306, 1, 0, 524307, 3, 0, 655348, 2, 0, 655349, 3, 0, 655350, 3, 0, 655351, 3, 0, 655352, 2, 0, 655353, 2, 0, 655354, 1, 0, 655355, 1, 0, 655356, 1, 0, 655357, 1, 0, 655358, 1, 0, 655359, 1, 0, 589824, 1, 0, 589825, 1, 0, 589826, 1, 0, 589827, 1, 0, 589828, 1, 0, 589829, 1, 0, 589830, 1, 0, 589831, 1, 0, 589832, 1, 0, 589833, 1, 0, 589834, 1, 0, 589835, 1, 0, 589836, 1, 0, 589837, 1, 0, 589838, 1, 0, 589839, 1, 0, 589840, 1, 0, 589841, 1, 0, 589842, 1, 0, 589843, 3, 0, 720889, 2, 0, 720890, 1, 0, 720891, 1, 0, 720892, 1, 0, 720893, 1, 0, 720894, 1, 0, 720895, 2, 0, 655360, 1, 0, 655361, 1, 0, 655362, 1, 0, 655363, 1, 0, 655364, 1, 0, 655365, 1, 0, 655366, 1, 0, 655367, 1, 0, 655368, 1, 0, 655369, 1, 0, 655370, 1, 0, 655371, 1, 0, 655372, 1, 0, 655373, 2, 0, 655374, 1, 0, 655375, 1, 0, 655376, 1, 0, 655377, 1, 0, 655378, 1, 0, 655379, 3, 0, 786425, 2, 0, 786426, 1, 0, 786427, 1, 0, 786428, 1, 0, 786429, 1, 0, 786430, 1, 0, 786431, 2, 0, 720896, 1, 0, 720897, 1, 0, 720898, 1, 0, 720899, 1, 0, 720900, 1, 0, 720901, 1, 0, 720902, 1, 0, 720903, 1, 0, 720904, 1, 0, 720905, 1, 0, 720906, 1, 0, 720907, 1, 0, 720908, 1, 0, 720909, 2, 0, 720910, 1, 0, 720911, 1, 0, 720912, 1, 0, 720913, 1, 0, 720914, 1, 0, 720915, 3, 0, 851961, 2, 0, 851962, 3, 0, 851963, 2, 0, 851964, 2, 0, 851965, 3, 0, 851966, 2, 0, 851967, 2, 0, 786432, 2, 0, 786433, 2, 0, 786434, 2, 0, 786435, 3, 0, 786436, 3, 0, 786437, 2, 0, 786438, 1, 0, 786439, 2, 0, 786440, 3, 0, 786441, 3, 0, 786442, 2, 0, 786443, 2, 0, 786444, 2, 0, 786445, 2, 0, 786446, 2, 0, 786447, 2, 0, 786448, 2, 0, 786449, 2, 0, 786450, 2, 0, 786451, 2, 0, 851973, 3, 0, 851974, 1, 0, 851975, 3, 0, 917509, 3, 0, 917510, 1, 0, 917511, 3, 0, 983045, 3, 0, 983046, 1, 0, 983047, 3, 0, 1114101, 2, 0, 1114102, 2, 0, 1114103, 2, 0, 1114104, 2, 0, 1114105, 2, 0, 1114106, 2, 0, 1114107, 2, 0, 1114110, 2, 0, 1114111, 2, 0, 1048576, 2, 0, 1048577, 2, 0, 1048578, 2, 0, 1048579, 2, 0, 1048580, 2, 0, 1048581, 2, 0, 1048582, 1, 0, 1048583, 2, 0, 1048584, 2, 0, 1048585, 2, 0, 1048586, 2, 0, 1179637, 2, 0, 1179638, 1, 0, 1179639, 1, 0, 1179640, 1, 0, 1179641, 1, 0, 1179642, 1, 0, 1179643, 2, 0, 1179644, 3, 0, 1179645, 3, 0, 1179646, 2, 0, 1179647, 1, 0, 1114112, 1, 0, 1114113, 1, 0, 1114114, 1, 0, 1114115, 1, 0, 1114116, 1, 0, 1114117, 1, 0, 1114118, 1, 0, 1114119, 1, 0, 1114120, 1, 0, 1114121, 1, 0, 1114122, 2, 0, 1114123, 2, 0, 1245174, 1, 0, 1245175, 1, 0, 1245176, 1, 0, 1245177, 1, 0, 1245178, 1, 0, 1245179, 1, 0, 1245180, 1, 0, 1245181, 1, 0, 1245182, 1, 0, 1245183, 1, 0, 1179648, 1, 0, 1179649, 1, 0, 1179650, 1, 0, 1179651, 1, 0, 1179652, 1, 0, 1179653, 1, 0, 1179654, 1, 0, 1179655, 1, 0, 1179656, 1, 0, 1179657, 1, 0, 1179658, 1, 0, 1179659, 2, 0, 1310710, 1, 0, 1310711, 1, 0, 1310712, 1, 0, 1310713, 1, 0, 1310714, 1, 0, 1310715, 2, 0, 1310716, 3, 0, 1310717, 3, 0, 1310718, 2, 0, 1310719, 1, 0, 1245184, 1, 0, 1245185, 1, 0, 1245186, 1, 0, 1245187, 1, 0, 1245188, 1, 0, 1245189, 1, 0, 1245190, 1, 0, 1245191, 1, 0, 1245192, 1, 0, 1245193, 1, 0, 1245194, 1, 0, 1245195, 3, 0, 1376246, 1, 0, 1376247, 1, 0, 1376248, 1, 0, 1376249, 1, 0, 1376250, 1, 0, 1376251, 2, 0, 1376252, 3, 0, 1376253, 3, 0, 1376254, 2, 0, 1376255, 1, 0, 1310720, 1, 0, 1310721, 1, 0, 1310722, 1, 0, 1310723, 1, 0, 1310724, 1, 0, 1310725, 1, 0, 1310726, 1, 0, 1310727, 1, 0, 1310728, 1, 0, 1310729, 1, 0, 1310730, 1, 0, 1310731, 3, 0, 1441782, 1, 0, 1441783, 1, 0, 1441784, 1, 0, 1441785, 1, 0, 1441786, 1, 0, 1441787, 1, 0, 1441788, 1, 0, 1441789, 1, 0, 1441790, 1, 0, 1441791, 1, 0, 1376256, 1, 0, 1376257, 1, 0, 1376258, 1, 0, 1376259, 1, 0, 1376260, 1, 0, 1376261, 1, 0, 1376262, 1, 0, 1376263, 1, 0, 1376264, 1, 0, 1376265, 1, 0, 1376266, 1, 0, 1376267, 2, 0, 1507317, 2, 0, 1507318, 1, 0, 1507319, 1, 0, 1507320, 1, 0, 1507321, 1, 0, 1507322, 1, 0, 1507323, 2, 0, 1507324, 3, 0, 1507325, 3, 0, 1507326, 2, 0, 1507327, 1, 0, 1441792, 1, 0, 1441793, 1, 0, 1441794, 1, 0, 1441795, 1, 0, 1441796, 1, 0, 1441797, 1, 0, 1441798, 1, 0, 1441799, 1, 0, 1441800, 1, 0, 1441801, 1, 0, 1441802, 2, 0, 1441803, 2, 0, 1572853, 2, 0, 1572854, 2, 0, 1572855, 2, 0, 1572856, 2, 0, 1572857, 2, 0, 1572858, 2, 0, 1572859, 2, 0, 1572862, 2, 0, 1572863, 2, 0, 1507328, 3, 0, 1507329, 3, 0, 1507330, 2, 0, 1507331, 2, 0, 1507332, 2, 0, 1507333, 2, 0, 1507334, 3, 0, 1507335, 3, 0, 1507336, 2, 0, 1507337, 2, 0, 1507338, 2, 0 ) script = ExtResource( 3 ) extended_tilemap_node = NodePath("../1x1") @@ -98,8 +84,35 @@ position = Vector2( -32, 192 ) [node name="EngineDoor2" parent="objects" instance=ExtResource( 4 )] position = Vector2( -32, 288 ) -[node name="Airlock" parent="objects" instance=ExtResource( 4 )] -position = Vector2( 192, 384 ) +[node name="StorageDoor" parent="objects" instance=ExtResource( 4 )] +position = Vector2( -128, -160 ) + +[node name="StorageDoor2" parent="objects" instance=ExtResource( 4 )] +position = Vector2( -128, -128 ) + +[node name="AirlockExt" parent="objects" instance=ExtResource( 4 )] +position = Vector2( 128, -288 ) +interlockTargetPath = NodePath("../AirlockInt") + +[node name="AirlockInt" parent="objects" instance=ExtResource( 4 )] +position = Vector2( 128, -224 ) +interlockTargetPath = NodePath("../AirlockExt") + +[node name="AirlockExt2" parent="objects" instance=ExtResource( 4 )] +position = Vector2( -160, 672 ) +interlockTargetPath = NodePath("../AirlockInt2") + +[node name="AirlockInt2" parent="objects" instance=ExtResource( 4 )] +position = Vector2( -64, 672 ) +interlockTargetPath = NodePath("../AirlockExt2") + +[node name="AirlockExt3" parent="objects" instance=ExtResource( 4 )] +position = Vector2( -160, 576 ) +interlockTargetPath = NodePath("../AirlockInt3") + +[node name="AirlockInt3" parent="objects" instance=ExtResource( 4 )] +position = Vector2( -64, 576 ) +interlockTargetPath = NodePath("../AirlockExt3") [node name="ControlComp" parent="objects" instance=ExtResource( 6 )] position = Vector2( 576, 256 ) @@ -144,3 +157,59 @@ direction = 2 [node name="Lighttube6" parent="lights" instance=ExtResource( 8 )] position = Vector2( 528, 144 ) + +[node name="Lighttube9" parent="lights" instance=ExtResource( 8 )] +position = Vector2( 80, -48 ) +direction = 2 + +[node name="Lighttube10" parent="lights" instance=ExtResource( 8 )] +position = Vector2( 272, -48 ) +direction = 2 + +[node name="Lighttube11" parent="lights" instance=ExtResource( 8 )] +position = Vector2( 272, -208 ) + +[node name="Lighttube12" parent="lights" instance=ExtResource( 8 )] +position = Vector2( -16, -208 ) +direction = 0 + +[node name="Lighttube13" parent="lights" instance=ExtResource( 8 )] +position = Vector2( -240, -208 ) + +[node name="Lighttube14" parent="lights" instance=ExtResource( 8 )] +position = Vector2( -240, -48 ) +direction = 2 + +[node name="Lighttube15" parent="lights" instance=ExtResource( 8 )] +position = Vector2( 208, 112 ) +direction = 0 + +[node name="Lighttube16" parent="lights" instance=ExtResource( 8 )] +position = Vector2( 208, -16 ) +direction = 1 + +[node name="Lighttube17" parent="lights" instance=ExtResource( 8 )] +position = Vector2( 208, 400 ) +direction = 1 + +[node name="Lighttube18" parent="lights" instance=ExtResource( 8 )] +position = Vector2( 208, 528 ) +direction = 0 + +[node name="Lighttube19" parent="lights" instance=ExtResource( 8 )] +position = Vector2( 48, 560 ) + +[node name="Lighttube21" parent="lights" instance=ExtResource( 8 )] +position = Vector2( -240, 560 ) + +[node name="Lighttube23" parent="lights" instance=ExtResource( 8 )] +position = Vector2( -240, 720 ) +direction = 2 + +[node name="Lighttube20" parent="lights" instance=ExtResource( 8 )] +position = Vector2( 272, 720 ) +direction = 2 + +[node name="Lighttube22" parent="lights" instance=ExtResource( 8 )] +position = Vector2( 80, 720 ) +direction = 2