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.
27 lines
929 B
Plaintext
27 lines
929 B
Plaintext
[gd_resource type="Resource" script_class="ProtoBuilding" format=3 uid="uid://bc4wqs1rr5707"]
|
|
|
|
[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_university_research"]
|
|
script = ExtResource("2_be")
|
|
stat = "research"
|
|
base_value = 2.0
|
|
exponent = 0.8
|
|
|
|
[sub_resource type="Resource" id="Effect_university_culture"]
|
|
script = ExtResource("2_be")
|
|
stat = "culture"
|
|
base_value = 0.5
|
|
exponent = 0.7
|
|
|
|
[resource]
|
|
script = ExtResource("1_pb")
|
|
name = "University"
|
|
description = "Higher education produces research and a little culture."
|
|
cost_gdp_fraction = 0.025
|
|
cost_alpha = 1.7
|
|
upkeep_gdp_fraction = 8e-05
|
|
upkeep_alpha = 1.6
|
|
effects = Array[ExtResource("2_be")]([SubResource("Effect_university_research"), SubResource("Effect_university_culture")])
|