95 lines
3.7 KiB
Text
95 lines
3.7 KiB
Text
[gd_scene load_steps=11 format=3 uid="uid://byuqbh3u5cxqo"]
|
|
|
|
[ext_resource type="Script" path="res://mean_dude.gd" id="1_1wbea"]
|
|
[ext_resource type="Script" path="res://addons/beehave/nodes/beehave_tree.gd" id="1_von5m"]
|
|
[ext_resource type="Script" path="res://addons/beehave/nodes/composites/selector.gd" id="2_tmsoc"]
|
|
[ext_resource type="Script" path="res://addons/beehave/nodes/composites/sequence.gd" id="3_wl46j"]
|
|
[ext_resource type="Script" path="res://addons/beehave/nodes/leaves/blackboard_has.gd" id="4_m2b65"]
|
|
[ext_resource type="Script" path="res://leaves/actions/dude_say.gd" id="5_jwdvu"]
|
|
[ext_resource type="Script" path="res://leaves/conditions/eye_condition.gd" id="6_5751j"]
|
|
[ext_resource type="Script" path="res://addons/beehave/nodes/leaves/blackboard_set.gd" id="6_pjfxk"]
|
|
[ext_resource type="Texture2D" uid="uid://belbhsx23yyd" path="res://bad-dude.png" id="8_67is2"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_tt36q"]
|
|
radius = 31.3847
|
|
|
|
[node name="BadDude" type="RigidBody2D"]
|
|
script = ExtResource("1_1wbea")
|
|
|
|
[node name="BeehaveTree" type="Node" parent="."]
|
|
script = ExtResource("1_von5m")
|
|
actor_node_path = NodePath("..")
|
|
|
|
[node name="Root" type="Node" parent="BeehaveTree"]
|
|
script = ExtResource("2_tmsoc")
|
|
|
|
[node name="Emergency" type="Node" parent="BeehaveTree/Root"]
|
|
script = ExtResource("3_wl46j")
|
|
|
|
[node name="IsEmergency" type="Node" parent="BeehaveTree/Root/Emergency"]
|
|
script = ExtResource("4_m2b65")
|
|
key = "\"Emergency\""
|
|
|
|
[node name="DudePanicing" type="Node" parent="BeehaveTree/Root/Emergency"]
|
|
script = ExtResource("5_jwdvu")
|
|
shit_to_say = "Firing! Taking heavy fire!"
|
|
|
|
[node name="HeroSpotted" type="Node" parent="BeehaveTree/Root"]
|
|
script = ExtResource("3_wl46j")
|
|
|
|
[node name="SeeHero" type="Node" parent="BeehaveTree/Root/HeroSpotted"]
|
|
script = ExtResource("6_5751j")
|
|
looking_for = "Hero"
|
|
|
|
[node name="Investigation" type="Node" parent="BeehaveTree/Root/HeroSpotted"]
|
|
script = ExtResource("3_wl46j")
|
|
|
|
[node name="WhatWasThat" type="Node" parent="BeehaveTree/Root/HeroSpotted/Investigation"]
|
|
script = ExtResource("5_jwdvu")
|
|
shit_to_say = "Huh? What was that?"
|
|
|
|
[node name="Looking" type="Node" parent="BeehaveTree/Root/HeroSpotted/Investigation"]
|
|
script = ExtResource("2_tmsoc")
|
|
|
|
[node name="Found" type="Node" parent="BeehaveTree/Root/HeroSpotted/Investigation/Looking"]
|
|
script = ExtResource("3_wl46j")
|
|
|
|
[node name="SeeHero" type="Node" parent="BeehaveTree/Root/HeroSpotted/Investigation/Looking/Found"]
|
|
script = ExtResource("6_5751j")
|
|
looking_for = "Hero"
|
|
|
|
[node name="ReportContact" type="Node" parent="BeehaveTree/Root/HeroSpotted/Investigation/Looking/Found"]
|
|
script = ExtResource("5_jwdvu")
|
|
shit_to_say = "CONTACT! LOTS OF CONTACT!!"
|
|
|
|
[node name="PullAlarm" type="Node" parent="BeehaveTree/Root/HeroSpotted/Investigation/Looking/Found"]
|
|
script = ExtResource("6_pjfxk")
|
|
key = "\"Emergency\""
|
|
value = "true"
|
|
|
|
[node name="MustBeWind" type="Node" parent="BeehaveTree/Root/HeroSpotted/Investigation/Looking"]
|
|
script = ExtResource("5_jwdvu")
|
|
shit_to_say = "Must have been the wind..."
|
|
|
|
[node name="ImBored" type="Node" parent="BeehaveTree/Root"]
|
|
script = ExtResource("5_jwdvu")
|
|
shit_to_say = "What a boring night this is..."
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
scale = Vector2(2.09614, 2.09614)
|
|
texture = ExtResource("8_67is2")
|
|
|
|
[node name="Body" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_tt36q")
|
|
|
|
[node name="Eyes" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Eyes"]
|
|
position = Vector2(0, 1.14396)
|
|
scale = Vector2(2.79924, 2.13395)
|
|
polygon = PackedVector2Array(12, -12, 96, -59, 96, 60, 12, 11)
|
|
|
|
[node name="EyesShape" type="Polygon2D" parent="."]
|
|
color = Color(0.929412, 1, 0.458824, 0.239216)
|
|
polygon = PackedVector2Array(32, -25, 33, 24, 269, 129, 269, -126)
|