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.
20 lines
762 B
Plaintext
20 lines
762 B
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/scientific_method.tres" id="3_prev"]
|
|
|
|
[sub_resource type="Resource" id="Effect_automation_gdp"]
|
|
script = ExtResource("2_be")
|
|
stat = "gdp"
|
|
base_value = 0.08
|
|
exponent = 1.0
|
|
|
|
[resource]
|
|
script = ExtResource("1_tech")
|
|
name = "Industrial Automation"
|
|
description = "Robotics and control systems take over the factory floor, lifting national output."
|
|
cost = 60.0
|
|
prerequisites = Array[Technology]([ExtResource("3_prev")])
|
|
effects = Array[BuildingEffect]([SubResource("Effect_automation_gdp")])
|