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
713 B
Plaintext
20 lines
713 B
Plaintext
[gd_resource type="Resource" script_class="ProtoBuilding" format=3 uid="uid://cjlcklx5gpj1u"]
|
|
|
|
[ext_resource type="Script" uid="uid://c0u6ish14ncb2" path="res://data/proto_building.gd" id="1_pb"]
|
|
[ext_resource type="Script" uid="uid://c8lu7oofc64y" path="res://data/building_effect.gd" id="2_be"]
|
|
|
|
[sub_resource type="Resource" id="Effect_market_gdp"]
|
|
script = ExtResource("2_be")
|
|
stat = "gdp"
|
|
base_value = 0.04
|
|
exponent = 0.75
|
|
|
|
[resource]
|
|
script = ExtResource("1_pb")
|
|
name = "Market"
|
|
description = "A hub of local trade. Raises national GDP, with diminishing returns."
|
|
cost_gdp_fraction = 0.01
|
|
cost_alpha = 1.6
|
|
upkeep_gdp_fraction = 3e-05
|
|
effects = Array[ExtResource("2_be")]([SubResource("Effect_market_gdp")])
|