File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 77[ext_resource path ="res://local_map/grid/SpawningPoint.tscn" type ="PackedScene" id =5 ]
88[ext_resource path ="res://local_map/grid/PawnContainer.gd" type ="Script" id =6 ]
99[ext_resource path ="res://party/Party.tscn" type ="PackedScene" id =7 ]
10- [ext_resource path ="res://local_map/pawns/InteractivePawn .tscn" type ="PackedScene" id =8 ]
10+ [ext_resource path ="res://local_map/pawns/PawnInteractive .tscn" type ="PackedScene" id =8 ]
1111[ext_resource path ="res://local_map/pawns/actions/StartCombatAction.tscn" type ="PackedScene" id =9 ]
1212[ext_resource path ="res://combat/battlers/formations/PorcupineFormation001.tscn" type ="PackedScene" id =10 ]
1313[ext_resource path ="res://local_map/pawns/actions/DialogueAction.tscn" type ="PackedScene" id =11 ]
1414[ext_resource path ="res://interface/gui/DialogueBox.tscn" type ="PackedScene" id =12 ]
1515
16+
1617[sub_resource type ="RectangleShape2D" id =1 ]
1718
1819extents = Vector2 ( 50 , 50 )
Original file line number Diff line number Diff line change 11extends PawnActor
2- class_name InteractivePawn
2+ class_name PawnInteractive
33
44onready var raycasts : = $ Raycasts as Node2D
55onready var dialogue_balloon : = $ DialogueBalloon as Sprite
@@ -69,7 +69,7 @@ func start_interaction() -> void:
6969 Pauses the game and play each action under the $Actions node
7070 Actions that transition to another scene (e.g. StartCombatAction) may unpause
7171 the game themselves
72- InteractivePawn processes even when the game is paused, but not
72+ PawnInteractive processes even when the game is paused, but not
7373 PawnLeader, the player-controlled pawn
7474 """
7575 dialogue_balloon .hide ()
Original file line number Diff line number Diff line change 11[gd_scene load_steps =5 format =2 ]
22
3- [ext_resource path ="res://local_map/pawns/InteractivePawn .gd" type ="Script" id =1 ]
3+ [ext_resource path ="res://local_map/pawns/PawnInteractive .gd" type ="Script" id =1 ]
44[ext_resource path ="res://local_map/pawns/sprites/star.png" type ="Texture" id =2 ]
55[ext_resource path ="res://assets/sprites/dialogue_balloon.png" type ="Texture" id =3 ]
66
Original file line number Diff line number Diff line change @@ -99,10 +99,10 @@ _global_script_classes=[ {
9999"language" : "GDScript" ,
100100"path" : "res://combat/Hit.gd"
101101}, {
102- "base" : "Node2D " ,
102+ "base" : "PawnActor " ,
103103"class" : "InteractivePawn" ,
104104"language" : "GDScript" ,
105- "path" : "res://local_map/pawns/InteractivePawn .gd"
105+ "path" : "res://local_map/pawns/PawnInteractive .gd"
106106}, {
107107"base" : "Reference" ,
108108"class" : "Inventory" ,
You can’t perform that action at this time.
0 commit comments