41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
|
[gd_scene load_steps=6 format=2]
|
||
|
|
||
|
[ext_resource path="res://machine.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://assets/sprites/forge.tres" type="Texture" id=2]
|
||
|
[ext_resource path="res://assets/machine.shader" type="Shader" id=3]
|
||
|
[ext_resource path="res://machines/text.gd" type="Script" id=4]
|
||
|
|
||
|
[sub_resource type="ShaderMaterial" id=1]
|
||
|
shader = ExtResource( 3 )
|
||
|
shader_param/rps = 0.0
|
||
|
shader_param/bg_color = Vector3( 0.251, 0.251, 0.251 )
|
||
|
|
||
|
[node name="Forge" type="StaticBody2D"]
|
||
|
script = ExtResource( 1 )
|
||
|
machine_type = 1
|
||
|
|
||
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
||
|
polygon = PoolVector2Array( -12, -8, -12, 8, 12, 8, 12, -8 )
|
||
|
__meta__ = {
|
||
|
"_edit_lock_": true
|
||
|
}
|
||
|
|
||
|
[node name="sprite" type="Sprite" parent="."]
|
||
|
material = SubResource( 1 )
|
||
|
texture = ExtResource( 2 )
|
||
|
__meta__ = {
|
||
|
"_edit_lock_": true
|
||
|
}
|
||
|
|
||
|
[node name="SuckArea" type="Area2D" parent="."]
|
||
|
script = ExtResource( 4 )
|
||
|
__meta__ = {
|
||
|
"_edit_lock_": true
|
||
|
}
|
||
|
|
||
|
[node name="Polygon2D" type="CollisionPolygon2D" parent="SuckArea"]
|
||
|
polygon = PoolVector2Array( -12, -12, 12, -12, 16, -8, 16, 8, 12, 12, -12, 12, -16, 8, -16, -8 )
|
||
|
__meta__ = {
|
||
|
"_edit_lock_": true
|
||
|
}
|