From 37e0a74ed171f970937b726fb51d02dbef050949 Mon Sep 17 00:00:00 2001 From: Roman Gräf Date: Mon, 20 Apr 2020 15:31:31 +0200 Subject: Kaffeebohnen implementierung --- upgrades/upgrades.tscn | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'upgrades/upgrades.tscn') 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 +} -- cgit