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
749 B
Plaintext
21 lines
749 B
Plaintext
[gd_resource type="Resource" script_class="ProtoBuilding" format=3 uid="uid://dxwffj357knng"]
|
|
|
|
[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_museum_culture"]
|
|
script = ExtResource("2_be")
|
|
stat = "culture"
|
|
base_value = 1.5
|
|
exponent = 0.85
|
|
|
|
[resource]
|
|
script = ExtResource("1_pb")
|
|
name = "Museum"
|
|
description = "Preserves national heritage, strengthening culture against foreign ideas."
|
|
cost_gdp_fraction = 0.02
|
|
cost_alpha = 1.6
|
|
upkeep_gdp_fraction = 5e-05
|
|
upkeep_alpha = 1.55
|
|
effects = Array[ExtResource("2_be")]([SubResource("Effect_museum_culture")])
|