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.
21 lines
742 B
Plaintext
21 lines
742 B
Plaintext
[gd_resource type="Resource" script_class="ProtoBuilding" format=3 uid="uid://djatijtfq1pgd"]
|
|
|
|
[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_bank_income"]
|
|
script = ExtResource("2_be")
|
|
stat = "budget_income"
|
|
base_value = 0.05
|
|
exponent = 0.7
|
|
|
|
[resource]
|
|
script = ExtResource("1_pb")
|
|
name = "Bank"
|
|
description = "Channels private wealth into the state coffers. Raises budget income."
|
|
cost_gdp_fraction = 0.02
|
|
cost_alpha = 1.7
|
|
upkeep_gdp_fraction = 4e-05
|
|
upkeep_alpha = 1.6
|
|
effects = Array[ExtResource("2_be")]([SubResource("Effect_bank_income")])
|