76 lines
3.0 KiB
Plaintext
76 lines
3.0 KiB
Plaintext
[gd_scene format=3 uid="uid://d324mlmgls4fs"]
|
|
|
|
[ext_resource type="Script" uid="uid://bsrn3gd2a532q" path="res://entities/interactables/truck/recharge/scripts/truck_recharge.gd" id="1_ipgcv"]
|
|
[ext_resource type="Texture2D" uid="uid://btd145u4gsl6e" path="res://entities/interactables/truck/recharge/STW_Props_Batterie_Batterie.png" id="2_ot7vv"]
|
|
[ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="3_jcfmm"]
|
|
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="4_ot7vv"]
|
|
[ext_resource type="Texture2D" uid="uid://bhi3mwl23flwp" path="res://entities/interactables/truck/recharge/STW_Props_Batterie_Glass_V2.png" id="5_2okh4"]
|
|
[ext_resource type="Texture2D" uid="uid://c01f6ja6btsep" path="res://entities/interactables/truck/recharge/STW_Props_Batterie_TERRE.png" id="6_2okh4"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_bjhct"]
|
|
radius = 38.45475
|
|
height = 76.9095
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_1vpbi"]
|
|
font = ExtResource("4_ot7vv")
|
|
font_size = 30
|
|
|
|
[node name="TruckRecharge" type="Area2D" unique_id=1099196706]
|
|
script = ExtResource("1_ipgcv")
|
|
default_interact_text = "RECHARGE"
|
|
default_info_title = "RECHARGE_STATION"
|
|
default_info_desc = "RECHARGE_STATION_DESC_TEXT"
|
|
metadata/_custom_type_script = "uid://dyprcd68fjstf"
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=2014886648]
|
|
position = Vector2(9, -53)
|
|
shape = SubResource("CapsuleShape2D_bjhct")
|
|
|
|
[node name="RechargeStation" type="Sprite2D" parent="." unique_id=1801951226]
|
|
scale = Vector2(0.5, 0.5)
|
|
texture = ExtResource("2_ot7vv")
|
|
offset = Vector2(0, -120)
|
|
|
|
[node name="EnergyTextContainer" type="HBoxContainer" parent="." unique_id=1392320184]
|
|
unique_name_in_owner = true
|
|
offset_left = -25.0
|
|
offset_top = -63.0
|
|
offset_right = 49.0
|
|
offset_bottom = -15.0
|
|
rotation = 0.18161926
|
|
theme_override_constants/separation = 0
|
|
alignment = 1
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="EnergyTextContainer" unique_id=2088496808]
|
|
custom_minimum_size = Vector2(30, 0)
|
|
layout_mode = 2
|
|
texture = ExtResource("3_jcfmm")
|
|
expand_mode = 1
|
|
stretch_mode = 5
|
|
|
|
[node name="EnergyText" type="Label" parent="EnergyTextContainer" unique_id=834929477]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "88"
|
|
label_settings = SubResource("LabelSettings_1vpbi")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Glass" type="Sprite2D" parent="." unique_id=825795322]
|
|
modulate = Color(1, 1, 1, 0.5294118)
|
|
scale = Vector2(0.5, 0.5)
|
|
texture = ExtResource("5_2okh4")
|
|
offset = Vector2(0, -120)
|
|
|
|
[node name="Terre" type="Sprite2D" parent="." unique_id=1116476976]
|
|
scale = Vector2(0.5, 0.5)
|
|
texture = ExtResource("6_2okh4")
|
|
offset = Vector2(0, -120)
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=1324035615]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=842130596]
|
|
position = Vector2(12.000001, -41.000004)
|
|
rotation = 0.18545866
|
|
shape = SubResource("CapsuleShape2D_bjhct")
|