This commit is contained in:
bart
2026-11-08 17:06:47 +01:00
parent 17901ce25c
commit 408541c7e0
46 changed files with 1474 additions and 1057 deletions
+22
View File
@@ -6,3 +6,25 @@ inhabitants_per_pop: 100000
initial_border_radius: 1
max_workable_radius: 3
default_tile_slots: 1
city_view_zoom: 4.8
# Per-tick resource generation & mechanics
base_resource_yield_per_tick: 500
tile_culture_cost: 10000
food_to_inhabitants_ratio: 1.0
# Base yield breakdown per resource (default 500 per tick)
base_yields:
voedsel: 500
arbeid: 500
kennis: 500
cultuur: 500
geloof: 500
goud: 500
# Initial player national resources
initial_national_resources:
cultuur: 10000
kennis: 0
geloof: 0
goud: 0
+7
View File
@@ -1 +1,8 @@
movement_tick_duration: 30.0
# Camera settings
camera:
min_zoom: 2.0
max_zoom: 16.0
pitch_min_deg: 45.0 # Pitch angle when close up (45° = 3D perspective)
pitch_max_deg: 75.0 # Pitch angle when zoomed out (75° = look downward, limiting rendered hexagons)
+61
View File
@@ -0,0 +1,61 @@
# English localization strings for UI, HUD, actions, and game messages
locale: en
ui:
general:
game_title: "RTS Civilization"
pause: "Pause"
resume: "Resume"
speed_1x: "1x Speed"
speed_2x: "2x Speed"
speed_4x: "4x Speed"
menu: "Menu"
settings: "Settings"
quit: "Quit"
hud:
gold: "Gold"
science: "Science"
culture: "Culture"
faith: "Faith"
food: "Food"
production: "Production"
population: "Population"
turn_time: "Time"
minimap: "Minimap"
actions:
move: "Move"
attack: "Attack"
found_city: "Found City"
build_farm: "Build Farm"
build_mine: "Build Mine"
build_lumber_mill: "Build Lumber Mill"
build_road: "Build Road"
cancel: "Cancel"
units:
settler: "Settler"
builder: "Builder"
warrior: "Warrior"
slinger: "Slinger"
archer: "Archer"
scout: "Scout"
galley: "Galley"
unit:
moving: "Moving"
impassable_terrain: "Impassable terrain!"
naval_only_water: "Ships can only sail on water!"
no_path: "No reachable path!"
tile_purchased: "Tile purchased! (-%1 Culture)"
out_of_range: "Out of range!"
defeated: "Defeated!"
city_already_here: "A city already exists here!"
unsuitable_terrain: "Unsuitable terrain!"
city:
center: "City Center"
produce_unit: "Produce Unit"
build_district: "Construct District"
population_growth: "Growth in {turns}s"
+36
View File
@@ -0,0 +1,36 @@
# Terrain movement rules, passability and costs configuration
# All gameplay values and parameters are fully configurable.
# Classification thresholds
water_height_threshold: 6 # Raw heightmap elevation value (< 6 is water)
mountain_rock_height_km: 2.3 # Height in km >= 2.3 is rocky mountain
snow_height_km: 3.1 # Altitude in km >= 3.1 is high peak snow
polar_snow_line_enabled: true # Whether latitude reduces snowline altitude
polar_snow_line_base_km: 2.5 # Base snowline at temperate latitudes
polar_snow_factor_start: 0.40 # Latitude distFromCenter where polar cooling starts
polar_snow_factor_end: 0.85 # Latitude distFromCenter where sea-level snowline is reached
# Movement costs per terrain type (1.0 = normal base cost, higher values = slower traversal)
movement_costs:
grasland: 1.0
bos: 2.0
steen: 2.5
sahara: 1.5
tundra: 1.5
red_canyon: 2.0
sneeuw: 3.0
water: 1.0
# Movement domains:
# - land: standard ground units (settler, builder, warrior, slinger, etc.)
# impassable_terrains: list of terrain types land units CANNOT enter or cross.
# - naval: ships and sea vessels (galley, etc.)
# passable_terrains: ships can ONLY move on these terrains (water).
domains:
land:
impassable_terrains:
- water
- sneeuw
naval:
passable_terrains:
- water
+1 -1
View File
@@ -98,7 +98,7 @@ water:
default_slots: 0
primary_resource: "geen"
yields:
voedsel: 0
voedsel: 1000
arbeid: 0
kennis: 0
cultuur: 0
+13
View File
@@ -0,0 +1,13 @@
id: galley
name: Galley
category: militair
domain: naval
health: 120
movement_speed: 3.0
cost: 60
attack_damage: 25
attack_range: 1
icon: images/units/galley.png
actions:
- verplaatsen
- aanvallen
+1
View File
@@ -1,6 +1,7 @@
id: settler
name: Settler
category: bouwen
domain: land
health: 100
movement_speed: 2.0
cost: 80
+1
View File
@@ -1,6 +1,7 @@
id: slinger
name: Slinger
category: militair
domain: land
health: 70
movement_speed: 2.0
cost: 35
+1
View File
@@ -1,6 +1,7 @@
id: warrior
name: Warrior
category: militair
domain: land
health: 100
movement_speed: 2.0
cost: 40