Done refactoring
This commit is contained in:
parent
3a136ff215
commit
2176e9d798
88 changed files with 821 additions and 880 deletions
|
|
@ -1,6 +1,6 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://523dme3h6d6c"]
|
||||
|
||||
[ext_resource type="Script" path="res://modules/npcship.gd" id="1_s20nu"]
|
||||
[ext_resource type="Script" path="res://scripts/objects/npcship.gd" id="1_wioir"]
|
||||
[ext_resource type="PackedScene" uid="uid://d1bhrxmr0oo0n" path="res://scenes/Bounty.tscn" id="2_6fdps"]
|
||||
[ext_resource type="PackedScene" uid="uid://cyskycafymwx" path="res://scenes/shields/npcshield.tscn" id="3_47apr"]
|
||||
[ext_resource type="PackedScene" uid="uid://dtshhww5culu4" path="res://scenes/hulls/npchullt1.tscn" id="4_1ne0s"]
|
||||
|
|
@ -13,13 +13,13 @@ radius = 64.0
|
|||
[sub_resource type="LabelSettings" id="LabelSettings_21pok"]
|
||||
font_size = 12
|
||||
|
||||
[node name="DefaultShip" type="CharacterBody2D" node_paths=PackedStringArray("DestinationTimer")]
|
||||
[node name="DefaultShip" type="CharacterBody2D" node_paths=PackedStringArray("destination_timer")]
|
||||
process_mode = 1
|
||||
collision_mask = 19
|
||||
input_pickable = true
|
||||
script = ExtResource("1_s20nu")
|
||||
DestinationTimer = NodePath("DestinationTimer")
|
||||
Bounty = ExtResource("2_6fdps")
|
||||
script = ExtResource("1_wioir")
|
||||
destination_timer = NodePath("DestinationTimer")
|
||||
bounty = ExtResource("2_6fdps")
|
||||
|
||||
[node name="Shield" parent="." instance=ExtResource("3_47apr")]
|
||||
|
||||
|
|
@ -34,7 +34,6 @@ polygon = PackedVector2Array(0, -16, 32, 0, 0, 16, 0, 4, -4, 4, -8, 8, -8, -8, -
|
|||
|
||||
[node name="SingleLaser" parent="WeaponSlot" instance=ExtResource("6_wnekw")]
|
||||
position = Vector2(8, 0)
|
||||
ShootingAction = "npc"
|
||||
|
||||
[node name="DestinationTimer" type="Timer" parent="."]
|
||||
wait_time = 5.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue