Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
~ start
|
||||
Elwood: Alright Jimmy. I need you to pick up some ingredients for the gala tonight.
|
||||
Jimmy: What do you need?
|
||||
Elwood: We need 1000 pieces of salt.
|
||||
Jimmy: El, I don't think that's how to get salt. You pick up bags of various poundage.
|
||||
Elwood: I'll show you some damn poundage unless you get me my damn salt.
|
||||
|
||||
- Why do I have to get them?
|
||||
Elwood: Because I said so, dingus! I'm your boss. So get to it!
|
||||
- Take that list and shove it where the sun don't shine!
|
||||
Elwood: That's it Jimmy! I'm writing you up!
|
||||
Jimmy: Not if I write you up first!
|
||||
Elwood: I'm going to write you up so hard!
|
||||
Jimmy: I'll write you up even harder!
|
||||
Elwood: You son of a!
|
||||
=> END
|
||||
@@ -0,0 +1,16 @@
|
||||
[remap]
|
||||
|
||||
importer="dialogue_manager"
|
||||
importer_version=18
|
||||
type="Resource"
|
||||
uid="uid://dq0rebksvpqsq"
|
||||
path="res://.godot/imported/magus.dialogue-250d6c867bed30b9f34528cf753a086b.tres"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/kitchen_mirror/dialogue/magus.dialogue"
|
||||
dest_files=["res://.godot/imported/magus.dialogue-250d6c867bed30b9f34528cf753a086b.tres"]
|
||||
|
||||
[params]
|
||||
|
||||
defaults=true
|
||||
@@ -0,0 +1,137 @@
|
||||
[gd_scene format=3 uid="uid://cdvdgefw2xiim"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dyjimwqh6nf3b" path="res://scenes/kitchen/images/kitchen.png" id="1_8froy"]
|
||||
[ext_resource type="Script" uid="uid://d13cdc8w03klw" path="res://scenes/kitchen_mirror/scripts/kitchen_mirror.gd" id="1_d2q7u"]
|
||||
[ext_resource type="Script" uid="uid://bm1tgx7c8cmbq" path="res://scenes/kitchen_mirror/scripts/west_exit.gd" id="4_8froy"]
|
||||
[ext_resource type="PackedScene" uid="uid://cuc5q5cao3vjx" path="res://player/player.tscn" id="4_8uwkb"]
|
||||
[ext_resource type="Script" uid="uid://ddi7n13cestbt" path="res://scenes/kitchen_mirror/scripts/east_exit.gd" id="5_8froy"]
|
||||
[ext_resource type="PackedScene" uid="uid://nt43v1uyni2b" path="res://entities/magus/magus.tscn" id="6_d2q7u"]
|
||||
[ext_resource type="LabelSettings" uid="uid://dkpp84p885g8h" path="res://shared/resources/standard_label_settings.tres" id="7_5jiw2"]
|
||||
[ext_resource type="Script" uid="uid://e22lo1h2ovr7" path="res://shared/helpers/hotspot.gd" id="9_8iblu"]
|
||||
[ext_resource type="Resource" uid="uid://dq0rebksvpqsq" path="res://scenes/kitchen_mirror/dialogue/magus.dialogue" id="10_mdb7i"]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_5t4nn"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4nnu7"]
|
||||
size = Vector2(2039, 118)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5t4nn"]
|
||||
size = Vector2(8, 321)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_d67dk"]
|
||||
size = Vector2(15.5, 218.5)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y2vya"]
|
||||
size = Vector2(506.00003, 455.91666)
|
||||
|
||||
[node name="Node2D" type="Node2D" unique_id=396398678]
|
||||
y_sort_enabled = true
|
||||
script = ExtResource("1_d2q7u")
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=352975622]
|
||||
position = Vector2(92, 176)
|
||||
physics_material_override = SubResource("PhysicsMaterial_5t4nn")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D" unique_id=1786835918]
|
||||
position = Vector2(1637, -47)
|
||||
scale = Vector2(-1, 1)
|
||||
polygon = PackedVector2Array(-139, 616, 37, 670, 291, 593, 488, 508, 1294, 605, 1295, 965, 1770, 961, 1806, 4, 456, 21, -169, 30)
|
||||
|
||||
[node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="StaticBody2D" unique_id=506849821]
|
||||
position = Vector2(1660, 7)
|
||||
scale = Vector2(-1, 1)
|
||||
polygon = PackedVector2Array(359, 784, 717, 864, 782, 807, 912, 824, 1027, 720, 477, 627, 358, 720)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=1773577601]
|
||||
position = Vector2(905.5, 1055)
|
||||
shape = SubResource("RectangleShape2D_4nnu7")
|
||||
|
||||
[node name="CollisionPolygon2D3" type="CollisionPolygon2D" parent="StaticBody2D" unique_id=1227676112]
|
||||
polygon = PackedVector2Array(1860, 817, 1432, 905, 1445, 1057, 1975, 1054)
|
||||
|
||||
[node name="East Exit" type="Area2D" parent="." unique_id=100473542]
|
||||
position = Vector2(-38, 12)
|
||||
collision_layer = 32768
|
||||
collision_mask = 32768
|
||||
script = ExtResource("5_8froy")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="East Exit" unique_id=1358787735]
|
||||
position = Vector2(1957, 934)
|
||||
shape = SubResource("RectangleShape2D_5t4nn")
|
||||
|
||||
[node name="West Exit" type="Area2D" parent="." unique_id=2018443347]
|
||||
position = Vector2(1836, 944)
|
||||
collision_layer = 32768
|
||||
collision_mask = 32768
|
||||
script = ExtResource("4_8froy")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="West Exit" unique_id=1394680927]
|
||||
position = Vector2(-1826, 165)
|
||||
shape = SubResource("RectangleShape2D_d67dk")
|
||||
|
||||
[node name="East Entrance" type="Marker2D" parent="." unique_id=1551667945]
|
||||
position = Vector2(1731, 937)
|
||||
|
||||
[node name="West Entrance" type="Marker2D" parent="." unique_id=90243493]
|
||||
position = Vector2(195, 1131)
|
||||
|
||||
[node name="South Entrance" type="Marker2D" parent="." unique_id=615804952]
|
||||
position = Vector2(945, 1123)
|
||||
|
||||
[node name="Kitchen" type="Sprite2D" parent="." unique_id=929834458]
|
||||
texture = ExtResource("1_8froy")
|
||||
centered = false
|
||||
flip_h = true
|
||||
region_enabled = true
|
||||
region_rect = Rect2(0, 0, 1920, 1080)
|
||||
|
||||
[node name="Island" type="Sprite2D" parent="." unique_id=1972903081]
|
||||
position = Vector2(774, 987)
|
||||
texture = ExtResource("1_8froy")
|
||||
centered = false
|
||||
offset = Vector2(0, -412)
|
||||
flip_h = true
|
||||
region_enabled = true
|
||||
region_rect = Rect2(7, 1094, 728, 412)
|
||||
|
||||
[node name="Chair" type="Sprite2D" parent="." unique_id=407782373]
|
||||
position = Vector2(1512, 1079)
|
||||
texture = ExtResource("1_8froy")
|
||||
centered = false
|
||||
offset = Vector2(0, -322)
|
||||
flip_h = true
|
||||
region_enabled = true
|
||||
region_rect = Rect2(860, 1109, 408, 322)
|
||||
|
||||
[node name="Player" parent="." unique_id=1952104269 instance=ExtResource("4_8uwkb")]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(1722.0001, 936.00006)
|
||||
scale = Vector2(3, 3)
|
||||
|
||||
[node name="Magus" parent="." unique_id=166157348 instance=ExtResource("6_d2q7u")]
|
||||
position = Vector2(663, 831)
|
||||
scale = Vector2(12, 12)
|
||||
|
||||
[node name="Magus Dialogue" type="Area2D" parent="." unique_id=649036673]
|
||||
collision_layer = 32768
|
||||
collision_mask = 32768
|
||||
script = ExtResource("9_8iblu")
|
||||
dialogue_resource = ExtResource("10_mdb7i")
|
||||
dialogue_cue = "start"
|
||||
metadata/_custom_type_script = "uid://e22lo1h2ovr7"
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Magus Dialogue" unique_id=452716105]
|
||||
position = Vector2(699, 669.0417)
|
||||
shape = SubResource("RectangleShape2D_y2vya")
|
||||
|
||||
[node name="Label" type="Label" parent="Magus Dialogue" unique_id=1810741347]
|
||||
visible = false
|
||||
offset_left = 670.0
|
||||
offset_top = 396.0
|
||||
offset_right = 729.0
|
||||
offset_bottom = 434.0
|
||||
text = "Talk"
|
||||
label_settings = ExtResource("7_5jiw2")
|
||||
|
||||
[connection signal="body_entered" from="East Exit" to="East Exit" method="_on_body_entered"]
|
||||
[connection signal="body_entered" from="West Exit" to="West Exit" method="_on_body_entered"]
|
||||
@@ -0,0 +1,16 @@
|
||||
extends Area2D
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
|
||||
func _on_body_entered(body: Node2D) -> void:
|
||||
Global.player_entrance_name = "West Entrance"
|
||||
get_tree().change_scene_to_file("res://scenes/kitchen/kitchen.tscn")
|
||||
@@ -0,0 +1 @@
|
||||
uid://ddi7n13cestbt
|
||||
@@ -0,0 +1,12 @@
|
||||
extends Node2D
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
if Global.player_entrance_name:
|
||||
%Player.global_position = get_node(Global.player_entrance_name).global_position
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
@@ -0,0 +1 @@
|
||||
uid://d13cdc8w03klw
|
||||
@@ -0,0 +1,25 @@
|
||||
extends Area2D
|
||||
|
||||
var inside = false;
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func _input(event):
|
||||
if Input.is_action_just_pressed("interact"):
|
||||
%Player.play_animation("drink",2100)
|
||||
|
||||
|
||||
func _on_body_entered(body: Node2D) -> void:
|
||||
$Label.visible = true
|
||||
inside = true
|
||||
|
||||
|
||||
func _on_body_exited(body: Node2D) -> void:
|
||||
$Label.visible = false
|
||||
inside = true
|
||||
@@ -0,0 +1 @@
|
||||
uid://3y84v7vdq0uo
|
||||
@@ -0,0 +1,16 @@
|
||||
extends Area2D
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
|
||||
func _on_body_entered(body: Node2D) -> void:
|
||||
Global.player_entrance_name = "South Entrance"
|
||||
get_tree().change_scene_to_file("res://scenes/kitchen/kitchen.tscn")
|
||||
@@ -0,0 +1 @@
|
||||
uid://do4h840v8awtn
|
||||
@@ -0,0 +1,16 @@
|
||||
extends Area2D
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
|
||||
func _on_body_entered(body: Node2D) -> void:
|
||||
Global.player_entrance_name = "East Entrance"
|
||||
get_tree().change_scene_to_file("res://scenes/kitchen/kitchen.tscn")
|
||||
@@ -0,0 +1 @@
|
||||
uid://bm1tgx7c8cmbq
|
||||
Reference in New Issue
Block a user