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.
24 lines
788 B
Plaintext
24 lines
788 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"]
|
|
|
|
[sub_resource type="Resource" id="Effect_method_research"]
|
|
script = ExtResource("2_be")
|
|
stat = "research"
|
|
base_value = 1.0
|
|
exponent = 1.0
|
|
|
|
[sub_resource type="Resource" id="Effect_method_gdp"]
|
|
script = ExtResource("2_be")
|
|
stat = "gdp"
|
|
base_value = 0.02
|
|
exponent = 1.0
|
|
|
|
[resource]
|
|
script = ExtResource("1_tech")
|
|
name = "Scientific Method"
|
|
description = "A disciplined approach to experiment and evidence. Lays the groundwork for every later technology."
|
|
cost = 20.0
|
|
effects = Array[BuildingEffect]([SubResource("Effect_method_research"), SubResource("Effect_method_gdp")])
|