Added a new character and modified the way :setup and :ready events are run.
This commit is contained in:
@@ -7,32 +7,32 @@ say player "I don't think he'd like that."
|
||||
:talk
|
||||
> [!talked_once]
|
||||
say player "Uhm..."
|
||||
say character "Yeah?"
|
||||
say android "Yeah?"
|
||||
set_global talked_once true
|
||||
|
||||
? option1 1000 option2 true
|
||||
- "What are you doing here?"
|
||||
say player "What are you doing here?"
|
||||
say character "I'm working! Can't you see that?"
|
||||
say character "My colleague is supposed to bring me an important report. And he's not coming!"
|
||||
say android "I'm working! Can't you see that?"
|
||||
say android "My colleague is supposed to bring me an important report. And he's not coming!"
|
||||
?
|
||||
- "I'll bring you this report!"
|
||||
say player "I'll bring you this report!"
|
||||
say character "You will? Great!"
|
||||
say character "Now please hurry up so I can leave and have lunch."
|
||||
say android "You will? Great!"
|
||||
say android "Now please hurry up so I can leave and have lunch."
|
||||
stop
|
||||
- "I've got better things to do."
|
||||
say player "I've got better things to do."
|
||||
say character "Eh! I'm not asking you anythin'!"
|
||||
say android "Eh! I'm not asking you anythin'!"
|
||||
stop
|
||||
|
||||
- "I'm selling these fine leather jackets."
|
||||
say player "I'm selling these fine leather jackets."
|
||||
say character "Go away, kid."
|
||||
say android "Go away, kid."
|
||||
stop
|
||||
|
||||
:give filled_sheet
|
||||
say character "Hey! That's perfect!"
|
||||
say character "I can finally got away from here!"
|
||||
walk character 1200,400
|
||||
set_angle character 45
|
||||
say android "Hey! That's perfect!"
|
||||
say android "I can finally got away from here!"
|
||||
walk android 1200,400
|
||||
set_angle android 45
|
||||
@@ -6,7 +6,7 @@
|
||||
[ext_resource path="res://game/characters/guybrush/guybrush.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escitem.gd" type="Script" id=5]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escroom.gd" type="Script" id=6]
|
||||
[ext_resource path="res://game/characters/character/character.tscn" type="PackedScene" id=7]
|
||||
[ext_resource path="res://game/characters/character/android.tscn" type="PackedScene" id=7]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id=1]
|
||||
vertices = PoolVector2Array( 1168.92, 640.557, 1182.53, 588.863, 1269.59, 622.872, 1275.03, 799.721, 129.634, 615.792, 1143.08, 613.35, -9.16094, 803.802, 84.5821, 654.06, -6.44019, 711.297, 3.15687, 646.051, 59.2201, 628.698 )
|
||||
@@ -170,15 +170,15 @@ position = Vector2( 1180.52, 395.193 )
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/r_door/Area2D"]
|
||||
polygon = PoolVector2Array( 1169.35, 41.7644, 1168.09, 347.925, 1275.18, 407.141, 1278.96, 88.3814 )
|
||||
|
||||
[node name="character" parent="Hotspots" instance=ExtResource( 7 )]
|
||||
[node name="android" parent="Hotspots" instance=ExtResource( 7 )]
|
||||
position = Vector2( 373.401, 415.66 )
|
||||
scale = Vector2( -1, 1 )
|
||||
esc_script = "res://game/rooms/room6/esc/character.esc"
|
||||
esc_script = "res://game/rooms/room6/esc/android.esc"
|
||||
interact_positions = {
|
||||
"default": Vector2( 595.637, 438.337 )
|
||||
"default": Vector2( 151.165, 438.337 )
|
||||
}
|
||||
|
||||
[node name="Position2D" type="Position2D" parent="Hotspots/character"]
|
||||
[node name="Position2D" type="Position2D" parent="Hotspots/android"]
|
||||
position = Vector2( 222.236, 22.6772 )
|
||||
|
||||
[node name="player_start" type="Position2D" parent="."]
|
||||
|
||||
Reference in New Issue
Block a user