Kinda works ish now

This commit is contained in:
Victor Turgeon
2023-06-11 16:32:03 -04:00
parent 0b735bc009
commit 99c83fef2b
6 changed files with 123 additions and 43 deletions

View File

@@ -1,16 +1,16 @@
[gd_scene load_steps=4 format=3 uid="uid://bh6e2nxqswoqg"]
[ext_resource type="Script" path="res://buildings/arms_building.cs" id="1_wbsyl"]
[ext_resource type="PackedScene" path="res://assets/meshes/nuke.tscn" id="2_upv26"]
[ext_resource type="PackedScene" uid="uid://py8i4xd737su" path="res://assets/meshes/nuke.tscn" id="2_upv26"]
[ext_resource type="PackedScene" uid="uid://m3lrwoup4i4r" path="res://buildings/grass_block.tscn" id="3_xrkoj"]
[node name="radiotower" type="Node3D" node_paths=PackedStringArray("BlocksNode")]
[node name="nukesilo" type="Node3D" node_paths=PackedStringArray("BlocksNode")]
transform = Transform3D(-1, 0, -1.50996e-07, 0, 1, 0, 1.50996e-07, 0, -1, 0, 0, 0)
script = ExtResource("1_wbsyl")
Megaton = 10
Approval = -5
Megaton = 20
Approval = -15
BlocksNode = NodePath("blocks")
DisplayName = "Radio Tower"
DisplayName = "Nuke Silo"
KashCost = 30
[node name="nuke" parent="." instance=ExtResource("2_upv26")]

View File

@@ -19,38 +19,29 @@ transform = Transform3D(0.0261279, 0, 0, 0, 0.042186, 0, 0, 0, 0.0268019, -0.878
[node name="grass_block" parent="blocks" instance=ExtResource("3_nf4at")]
[node name="grass_block2" parent="blocks" node_paths=PackedStringArray("_ray") instance=ExtResource("3_nf4at")]
[node name="grass_block2" parent="blocks" instance=ExtResource("3_nf4at")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -2)
_ray = NodePath("../grass_block/RayCast3D")
[node name="grass_block3" parent="blocks" node_paths=PackedStringArray("_ray") instance=ExtResource("3_nf4at")]
[node name="grass_block3" parent="blocks" instance=ExtResource("3_nf4at")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -2)
_ray = NodePath("../grass_block/RayCast3D")
[node name="grass_block4" parent="blocks" node_paths=PackedStringArray("_ray") instance=ExtResource("3_nf4at")]
[node name="grass_block4" parent="blocks" instance=ExtResource("3_nf4at")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2)
_ray = NodePath("../grass_block/RayCast3D")
[node name="grass_block5" parent="blocks" node_paths=PackedStringArray("_ray") instance=ExtResource("3_nf4at")]
[node name="grass_block5" parent="blocks" instance=ExtResource("3_nf4at")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -4)
_ray = NodePath("../grass_block/RayCast3D")
[node name="grass_block6" parent="blocks" node_paths=PackedStringArray("_ray") instance=ExtResource("3_nf4at")]
[node name="grass_block6" parent="blocks" instance=ExtResource("3_nf4at")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -4)
_ray = NodePath("../grass_block/RayCast3D")
[node name="grass_block7" parent="blocks" node_paths=PackedStringArray("_ray") instance=ExtResource("3_nf4at")]
[node name="grass_block7" parent="blocks" instance=ExtResource("3_nf4at")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4)
_ray = NodePath("../grass_block/RayCast3D")
[node name="grass_block8" parent="blocks" node_paths=PackedStringArray("_ray") instance=ExtResource("3_nf4at")]
[node name="grass_block8" parent="blocks" instance=ExtResource("3_nf4at")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -6)
_ray = NodePath("../grass_block/RayCast3D")
[node name="grass_block9" parent="blocks" node_paths=PackedStringArray("_ray") instance=ExtResource("3_nf4at")]
[node name="grass_block9" parent="blocks" instance=ExtResource("3_nf4at")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, -6)
_ray = NodePath("../grass_block/RayCast3D")
[node name="grass_block10" parent="blocks" node_paths=PackedStringArray("_ray") instance=ExtResource("3_nf4at")]
[node name="grass_block10" parent="blocks" instance=ExtResource("3_nf4at")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -6)
_ray = NodePath("../grass_block/RayCast3D")

View File

@@ -1,12 +1,13 @@
[gd_scene load_steps=4 format=3 uid="uid://2pw0p13lcklv"]
[ext_resource type="Script" path="res://buildings/kash_building.cs" id="1_bcr1q"]
[ext_resource type="PackedScene" path="res://assets/meshes/factory.tscn" id="2_st133"]
[ext_resource type="PackedScene" uid="uid://bbxjweewwjrd4" path="res://assets/meshes/factory.tscn" id="2_st133"]
[ext_resource type="PackedScene" uid="uid://m3lrwoup4i4r" path="res://buildings/grass_block.tscn" id="3_4p2cy"]
[node name="factory" type="Node3D" node_paths=PackedStringArray("BlocksNode")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0)
script = ExtResource("1_bcr1q")
KashGenPerSec = 2
BlocksNode = NodePath("blocks")
DisplayName = "Factory"
KashCost = 6

View File

@@ -1,12 +1,13 @@
[gd_scene load_steps=4 format=3 uid="uid://b8f1n3hp1fdlm"]
[ext_resource type="Script" path="res://buildings/propaganda_building.cs" id="1_oo36g"]
[ext_resource type="PackedScene" path="res://assets/meshes/radiotower.tscn" id="2_4131e"]
[ext_resource type="PackedScene" uid="uid://cy2sb2tms48ir" path="res://assets/meshes/radiotower.tscn" id="2_4131e"]
[ext_resource type="PackedScene" uid="uid://m3lrwoup4i4r" path="res://buildings/grass_block.tscn" id="3_pn4dl"]
[node name="radiotower2" type="Node3D" node_paths=PackedStringArray("BlocksNode")]
[node name="radiotower" type="Node3D" node_paths=PackedStringArray("BlocksNode")]
transform = Transform3D(-1, 0, -1.50996e-07, 0, 1, 0, 1.50996e-07, 0, -1, 0, 0, 0)
script = ExtResource("1_oo36g")
Approval = 10
BlocksNode = NodePath("blocks")
DisplayName = "Radio Tower"
KashCost = 5