cirnogodot/Scenes/Props/MediumLiquidTank.tscn
2025-04-09 14:08:41 +02:00

38 lines
1.3 KiB
Text

[gd_scene load_steps=7 format=3 uid="uid://7cpk3c3d8cl7"]
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_laidj"]
[ext_resource type="Texture2D" uid="uid://dqx1di84tkfft" path="res://Sprites/MediumLiquidTanks.png" id="1_mv1jg"]
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="2_1wfyv"]
[sub_resource type="AtlasTexture" id="AtlasTexture_i3nxh"]
atlas = ExtResource("1_mv1jg")
region = Rect2(64, 96, 32, 32)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
size = Vector2(28, 24)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_b7nn4"]
size = Vector2(24, 14)
[node name="LargeTank" type="Area2D"]
collision_layer = 64
collision_mask = 10
script = ExtResource("1_laidj")
Health = 2.0
ExplosionParticles = ExtResource("2_1wfyv")
metadata/_edit_group_ = true
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = SubResource("AtlasTexture_i3nxh")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
shape = SubResource("RectangleShape2D_0nhpj")
[node name="RigidBody2D" type="StaticBody2D" parent="." groups=["Solid"]]
collision_layer = 64
collision_mask = 10
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
position = Vector2(0, -3)
shape = SubResource("RectangleShape2D_b7nn4")