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.
15 lines
572 B
Plaintext
15 lines
572 B
Plaintext
[gd_resource type="Resource" script_class="ProtoUnit" format=3 uid="uid://b2l3y5q7vbixw"]
|
|
|
|
[ext_resource type="Script" uid="uid://q2yr30ge5hl3" path="res://data/proto_unit.gd" id="1_f3bk2"]
|
|
[ext_resource type="SpriteFrames" uid="uid://cwm6lopvum8y3" path="res://gfx/sprites/modern_infantry_sprite_frames.tres" id="2_03dfi"]
|
|
|
|
[resource]
|
|
script = ExtResource("1_f3bk2")
|
|
name = "Modern infantry"
|
|
max_hp = 500
|
|
cost = 500000
|
|
upkeep = 50000000
|
|
traversable_terrains = PackedStringArray("Land")
|
|
sprites = ExtResource("2_03dfi")
|
|
metadata/_custom_type_script = "uid://q2yr30ge5hl3"
|