93 lines
1.8 KiB
GDScript
93 lines
1.8 KiB
GDScript
extends Node
|
|
|
|
const TECHNOLOGIES = {
|
|
"advanced_mining": {
|
|
"name": "Advanced Mining",
|
|
"description": "Allow mining resources",
|
|
"time": 10,
|
|
"cost": {
|
|
"science": 1,
|
|
"iron": 5
|
|
},
|
|
"texture": "res://assets/tech/Mining_Drill.png",
|
|
"unlock_effects": {
|
|
|
|
},
|
|
"unlocks_buildings": ["uran_mine", "copper_mine", "aluminium_mine"],
|
|
"requires": []
|
|
},
|
|
"hydro_engineering": {
|
|
"name": "Inżynieria Hydrotermalna",
|
|
"description": "Zwiększa wydobycie wody o 50%.",
|
|
"time": 10,
|
|
"cost": {
|
|
"science": 1
|
|
},
|
|
"texture": "res://assets/tech/hydro_engineering.png",
|
|
"unlock_effects": {
|
|
|
|
},
|
|
"requires": ["advanced_mining"]
|
|
},
|
|
"terraforming": {
|
|
"name": "Terraforming",
|
|
"description": "Allow terreforming planet",
|
|
"time": 10,
|
|
"cost": {
|
|
"science": 10,
|
|
"iron": 5,
|
|
"aluminium":10
|
|
},
|
|
"texture": "res://assets/tech/terraforming.png",
|
|
"unlock_effects": {
|
|
|
|
},
|
|
"requires": ["hydro_engineering"]
|
|
},
|
|
"basic_shipbuilding": {
|
|
"name": "Basic shipbuilding",
|
|
"description": "Allow builid advanced ships",
|
|
"time": 10,
|
|
"cost": {
|
|
"science": 10,
|
|
"iron": 5,
|
|
"aluminium":10
|
|
},
|
|
"texture": "res://assets/tech/basic_shipbuilding.png",
|
|
"unlock_effects": {
|
|
|
|
},
|
|
"requires": ["advanced_mining"]
|
|
},
|
|
"advanced_weapons": {
|
|
"name": "Advanced weapons",
|
|
"description": "Allow builid advanced ships",
|
|
"time": 10,
|
|
"cost": {
|
|
"science": 10,
|
|
"iron": 5,
|
|
|
|
},
|
|
"texture": "res://assets/tech/advanced_weapons.png",
|
|
"unlock_effects": {
|
|
|
|
},
|
|
"requires": ["basic_shipbuilding"]
|
|
},
|
|
"advanced_laser": {
|
|
"name": "Advanced laser",
|
|
"description": "Allow builid advanced ships",
|
|
"time": 10,
|
|
"cost": {
|
|
"science": 10,
|
|
"iron": 5,
|
|
|
|
},
|
|
"texture": "res://assets/tech/advanced_laser.png",
|
|
"unlock_effects": {
|
|
"resource_bonus": 0.5,
|
|
},
|
|
"requires": ["basic_shipbuilding"]
|
|
},
|
|
}
|