This commit is contained in:
MarcEricMartel
2023-06-11 14:49:51 -04:00
parent 5e3255bfc9
commit db701d79c6
10 changed files with 47 additions and 24 deletions

View File

@@ -2,8 +2,8 @@ using Godot;
public partial class arms_building : base_building
{
[Export]
public int Megaton { get; set; } = 1;
[Export]
public int ApprovalDrop { get; set; } = 1;
[Export]
public int Megaton { get; set; } = 1;
[Export]
public int Approval { get; set; } = 1;
}

View File

@@ -1,14 +1,14 @@
[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" uid="uid://py8i4xd737su" path="res://assets/meshes/nuke.tscn" id="2_upv26"]
[ext_resource type="PackedScene" 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")]
transform = Transform3D(-1, 0, -1.50996e-07, 0, 1, 0, 1.50996e-07, 0, -1, 0, 0, 0)
script = ExtResource("1_wbsyl")
Megaton = 10
ApprovalDrop = 5
Approval = -5
BlocksNode = NodePath("blocks")
DisplayName = "Radio Tower"
KashCost = 30

View File

@@ -2,6 +2,6 @@ using Godot;
public partial class kash_building : base_building
{
[Export]
public int KashGenPerSec { get; set; } = 1;
[Export]
public int KashGenPerSec { get; set; } = 1;
}

View File

@@ -1,7 +1,7 @@
[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" uid="uid://bbxjweewwjrd4" path="res://assets/meshes/factory.tscn" id="2_st133"]
[ext_resource type="PackedScene" 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")]

View File

@@ -2,6 +2,6 @@ using Godot;
public partial class propaganda_building : base_building
{
[Export]
public int ApprovalGain { get; set; } = 1;
[Export]
public int Approval { get; set; } = 1;
}

View File

@@ -1,13 +1,12 @@
[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" uid="uid://cy2sb2tms48ir" path="res://assets/meshes/radiotower.tscn" id="2_4131e"]
[ext_resource type="PackedScene" 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="radiotower" type="Node3D" node_paths=PackedStringArray("BlocksNode")]
[node name="radiotower2" 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")
ApprovalGain = 10
BlocksNode = NodePath("blocks")
DisplayName = "Radio Tower"
KashCost = 5