aboutsummaryrefslogtreecommitdiff
path: root/buildings/buildings.tscn
diff options
context:
space:
mode:
authorRoman Gräf <romangraef@gmail.com>2020-04-19 14:43:02 +0200
committerRoman Gräf <romangraef@gmail.com>2020-04-19 14:43:02 +0200
commitc3620b837ec41fea1e0676194b7f2601137543fa (patch)
tree39f8bee4523d9f01c30c7ffdd6833ed5ba559629 /buildings/buildings.tscn
parent6a4f00bfaa636d026e181574ce3ce1dd40746153 (diff)
downloadLDJam46-c3620b837ec41fea1e0676194b7f2601137543fa.tar.gz
LDJam46-c3620b837ec41fea1e0676194b7f2601137543fa.tar.bz2
LDJam46-c3620b837ec41fea1e0676194b7f2601137543fa.zip
Ankurbelung des Arbeitsmarkts
Diffstat (limited to 'buildings/buildings.tscn')
-rw-r--r--buildings/buildings.tscn44
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
+}