diff options
author | Roman Gräf <romangraef@gmail.com> | 2020-04-20 15:31:31 +0200 |
---|---|---|
committer | Roman Gräf <romangraef@gmail.com> | 2020-04-20 15:31:31 +0200 |
commit | 37e0a74ed171f970937b726fb51d02dbef050949 (patch) | |
tree | 24d36c81c11722805b578d0eaf030424db81b423 /upgrades/upgrades.tscn | |
parent | 136ec8470031496bce8c656144ab223f203c5ef6 (diff) | |
download | LDJam46-37e0a74ed171f970937b726fb51d02dbef050949.tar.gz LDJam46-37e0a74ed171f970937b726fb51d02dbef050949.tar.bz2 LDJam46-37e0a74ed171f970937b726fb51d02dbef050949.zip |
Kaffeebohnen implementierung
Diffstat (limited to 'upgrades/upgrades.tscn')
-rw-r--r-- | upgrades/upgrades.tscn | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/upgrades/upgrades.tscn b/upgrades/upgrades.tscn index 503cbb6..7eea485 100644 --- a/upgrades/upgrades.tscn +++ b/upgrades/upgrades.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=9 format=2] [ext_resource path="res://assets/wageslavery.png" type="Texture" id=1] [ext_resource path="res://lib/upgrade_interface.gd" type="Script" id=2] [ext_resource path="res://lib/base_buyable.gd" type="Script" id=3] [ext_resource path="res://assets/glasses.png" type="Texture" id=4] +[ext_resource path="res://assets/Kaffeevertrag.png" type="Texture" id=5] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 32, 32 ) @@ -11,6 +12,9 @@ extents = Vector2( 32, 32 ) [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 14.3177, 10 ) +[sub_resource type="RectangleShape2D" id=3] +extents = Vector2( 11.8724, 13.514 ) + [node name="Node2D" type="Node2D"] [node name="wageslavery" type="Sprite" parent="."] @@ -60,3 +64,28 @@ margin_bottom = 14.0 __meta__ = { "_edit_use_anchors_": false } + +[node name="contract" type="Sprite" parent="."] +position = Vector2( 58.9314, 136.893 ) +scale = Vector2( 1.84407, 1.8057 ) +texture = ExtResource( 5 ) +script = ExtResource( 2 ) +tick_rate = -1.0 +base_cost = 1000.0 +cost_multiplier = 1.1 +building_identifier = "contract" + +[node name="Area2D" type="Area2D" parent="contract"] +script = ExtResource( 3 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="contract/Area2D"] +shape = SubResource( 3 ) + +[node name="Label" type="Label" parent="contract"] +margin_left = -8.34222 +margin_top = 1.0 +margin_right = 12.6578 +margin_bottom = 15.0 +__meta__ = { +"_edit_use_anchors_": false +} |