40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://Actors/Components/ActivationRange.gd" type="Script" id=1]
|
|
[ext_resource path="res://Actors/Objects/Engine/Engine.gd" type="Script" id=2]
|
|
[ext_resource path="res://Graphics/tgstation/engine-big.png" type="Texture" id=3]
|
|
[ext_resource path="res://Graphics/light_shadow_light.png" type="Texture" id=4]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 48, 48 )
|
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
|
extents = Vector2( 72, 72 )
|
|
|
|
[node name="Engine" type="StaticBody2D"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2( 48, 48 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="engine" type="Sprite" parent="."]
|
|
texture = ExtResource( 3 )
|
|
centered = false
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 96, 96 )
|
|
|
|
[node name="Light2D" type="Light2D" parent="."]
|
|
position = Vector2( 48, 48 )
|
|
texture = ExtResource( 4 )
|
|
offset = Vector2( 0, 50 )
|
|
texture_scale = 2.0
|
|
energy = 0.002
|
|
|
|
[node name="ActivationRange" type="Area2D" parent="."]
|
|
visible = false
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="ActivationRange"]
|
|
position = Vector2( 48, 56 )
|
|
shape = SubResource( 2 )
|