Technologie
This commit is contained in:
parent
6be0033f7c
commit
e1cb958a43
@ -24,6 +24,7 @@ Settings="*res://scripts/settings.gd"
|
||||
GameData="*res://scripts/GameData.gd"
|
||||
BuildingsList="*res://scripts/BuildingsList.gd"
|
||||
PlayerData="*res://scripts/PlayerData.gd"
|
||||
Technologies="*res://scripts/technologies.gd"
|
||||
|
||||
[display]
|
||||
|
||||
@ -84,7 +85,7 @@ zoom_out={
|
||||
|
||||
[internationalization]
|
||||
|
||||
locale/translations=PackedStringArray("res://localization/translation.cs.translation", "res://localization/translation.de.translation", "res://localization/translation.en.translation", "res://localization/translation.es.translation", "res://localization/translation.pl.translation")
|
||||
locale/translations=PackedStringArray("res://localization/translation.en.translation", "res://localization/translation.pl.translation")
|
||||
locale/translation_add_builtin_strings_to_pot=true
|
||||
|
||||
[rendering]
|
||||
|
||||
@ -50,9 +50,6 @@ func _generate_galaxy(count: int):
|
||||
planet.orbit_radius = 55 + j * 40
|
||||
planet.orbit_speed = randf_range(0.004, 0.01)
|
||||
planet.since_potential = 0.1 + (2.0 - 0.1) * pow(randf(), 4.0)
|
||||
|
||||
|
||||
|
||||
planet.size = randi_range(1, 3)
|
||||
#assign_max_population(planet)
|
||||
generate_planet_resources(planet) # <-- tu losujemy surowce
|
||||
|
||||
@ -4,6 +4,7 @@ const TECHNOLOGIES = {
|
||||
"advance_mining": {
|
||||
"name": "Advance Mining",
|
||||
"description": "Allow mining resources",
|
||||
"time": 10,
|
||||
"cost": {
|
||||
"science": 100,
|
||||
"iron": 50
|
||||
@ -17,6 +18,7 @@ const TECHNOLOGIES = {
|
||||
"hydro_engineering": {
|
||||
"name": "Inżynieria Hydrotermalna",
|
||||
"description": "Zwiększa wydobycie wody o 15%.",
|
||||
"time": 10,
|
||||
"cost": {
|
||||
"science": 200
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user