diff options
Diffstat (limited to 'buildings/buildings.tscn')
-rw-r--r-- | buildings/buildings.tscn | 44 |
1 files changed, 33 insertions, 11 deletions
diff --git a/buildings/buildings.tscn b/buildings/buildings.tscn index 9a1cc89..809a59f 100644 --- a/buildings/buildings.tscn +++ b/buildings/buildings.tscn @@ -1,7 +1,7 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=8 format=2] -[ext_resource path="res://assets/intern.png" type="Texture" id=1] -[ext_resource path="res://buildings/base_building.tscn" type="PackedScene" id=2] +[ext_resource path="res://buildings/intern.gd" type="Script" id=1] +[ext_resource path="res://assets/intern.png" type="Texture" id=2] [ext_resource path="res://assets/hire.png" type="Texture" id=3] [ext_resource path="res://lib/base_buyable.gd" type="Script" id=4] [ext_resource path="res://buildings/dev.gd" type="Script" id=5] @@ -9,18 +9,14 @@ [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 86.5173, 127.028 ) -[node name="buildings" type="Node2D"] +[sub_resource type="RectangleShape2D" id=2] +extents = Vector2( 84.7312, 127.29 ) -[node name="intern" parent="." instance=ExtResource( 2 )] -position = Vector2( 79.0261, 77.0123 ) -texture = ExtResource( 1 ) -base_cost = 10.0 -cost_multiplier = 1.1 -building_identifier = "intern" +[node name="buildings" type="Node2D"] [node name="dev" type="Sprite" parent="."] position = Vector2( 186.651, 77.0577 ) -scale = Vector2( 0.37123, 0.37123 ) +scale = Vector2( 0.4, 0.4 ) texture = ExtResource( 3 ) script = ExtResource( 5 ) base_cost = 200.0 @@ -41,3 +37,29 @@ margin_bottom = 119.0 __meta__ = { "_edit_use_anchors_": false } + +[node name="intern" type="Sprite" parent="."] +position = Vector2( 66.3232, 78.3818 ) +scale = Vector2( 0.4, 0.4 ) +texture = ExtResource( 2 ) +script = ExtResource( 1 ) +tick_rate = 5.0 +base_cost = 10.0 +cost_multiplier = 1.1 +building_identifier = "intern" + +[node name="Area2D" type="Area2D" parent="intern"] +script = ExtResource( 4 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="intern/Area2D"] +position = Vector2( -30.114, -8.1076 ) +shape = SubResource( 2 ) + +[node name="Label" type="Label" parent="intern"] +margin_left = 3.0 +margin_top = 82.0 +margin_right = 43.0 +margin_bottom = 106.0 +__meta__ = { +"_edit_use_anchors_": false +} |