Server-authoritative Godot 4.6 strategy game. Includes the headless WebSocket game server, the browser client, and Nix packaging (server and web-export derivations plus a NixOS module) for deployment.
27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
[gd_resource type="Resource" script_class="Technology" format=3]
|
|
|
|
[ext_resource type="Script" path="res://data/technology.gd" id="1_tech"]
|
|
[ext_resource type="Script" path="res://data/building_effect.gd" id="2_be"]
|
|
[ext_resource type="Resource" path="res://data/technologies/industrial_automation.tres" id="3_prev_a"]
|
|
[ext_resource type="Resource" path="res://data/technologies/quantum_computing.tres" id="4_prev_b"]
|
|
|
|
[sub_resource type="Resource" id="Effect_space_culture"]
|
|
script = ExtResource("2_be")
|
|
stat = "culture"
|
|
base_value = 3.0
|
|
exponent = 1.0
|
|
|
|
[sub_resource type="Resource" id="Effect_space_gdp"]
|
|
script = ExtResource("2_be")
|
|
stat = "gdp"
|
|
base_value = 0.05
|
|
exponent = 1.0
|
|
|
|
[resource]
|
|
script = ExtResource("1_tech")
|
|
name = "Space Program"
|
|
description = "Reaching orbit inspires the nation and spins off technology across the economy."
|
|
cost = 300.0
|
|
prerequisites = Array[Technology]([ExtResource("3_prev_a"), ExtResource("4_prev_b")])
|
|
effects = Array[BuildingEffect]([SubResource("Effect_space_culture"), SubResource("Effect_space_gdp")])
|