This repository has been archived on 2020-09-30. You can view files and clone it, but cannot push or open issues or pull requests.
odyssey-old/Actors/Lightbulb/Lightbulb.tscn

35 lines
929 B
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://Graphics/tgstation/light.png" type="Texture" id=1]
[ext_resource path="res://Actors/Lightbulb/Lightbulb.gd" type="Script" id=2]
[ext_resource path="res://Graphics/light_shadow_light.png" type="Texture" id=3]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 16, 16 )
[node name="Lighttube" type="Area2D"]
script = ExtResource( 2 )
[node name="light" type="Sprite" parent="."]
texture = ExtResource( 1 )
region_enabled = true
region_rect = Rect2( 32, 0, 32, 32 )
[node name="Light2D" type="Light2D" parent="."]
texture = ExtResource( 3 )
offset = Vector2( 0, -10 )
texture_scale = 4.0
energy = 1.2
mode = 2
shadow_enabled = true
shadow_gradient_length = 5.0
shadow_filter = 5
shadow_filter_smooth = 10.0
__meta__ = {
"_edit_group_": true,
"_edit_lock_": true
}
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )