Add articles to wiki
This commit is contained in:
parent
1453c2f49c
commit
208b73ffc1
|
@ -4,19 +4,48 @@ import WikiPageEntry from "../types/WikiPageEntry";
|
|||
const { entry } = Astro.props as { entry: WikiPageEntry };
|
||||
---
|
||||
<li>
|
||||
<a href={entry.url}>{entry.title}</a>
|
||||
{entry.children.length > 0 && <a class="dropdown-arrow" href="#">▶</a>}<a class={Astro.url.pathname === entry.url ? "active" : ""} href={entry.url}>{entry.title}</a>
|
||||
{entry.children.length > 0 && (
|
||||
<ul>
|
||||
<ul style="display: none;">
|
||||
{entry.children.map((child: WikiPageEntry) => <Astro.self entry={child} />)}
|
||||
</ul>
|
||||
)}
|
||||
</li>
|
||||
<style>
|
||||
a {
|
||||
color: green;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: lime;
|
||||
}
|
||||
|
||||
li {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.dropdown-arrow {
|
||||
color: green;
|
||||
margin-right: 0.5rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.active {
|
||||
color: lime;
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
const dropdownArrows: NodeListOf<HTMLElement> = document.querySelectorAll('.dropdown-arrow');
|
||||
|
||||
dropdownArrows.forEach((arrow) => {
|
||||
arrow.addEventListener('click', (event) => {
|
||||
event.preventDefault();
|
||||
const ul = (event.target as HTMLElement)?.parentElement?.querySelector('ul');
|
||||
if(!ul) return;
|
||||
arrow.textContent = ul.style.display === 'none' ? '▼' : '▶';
|
||||
arrow.style.color = ul.style.display === 'none' ? 'lime' : 'green';
|
||||
ul.style.display = ul.style.display === 'none' ? 'block' : 'none';
|
||||
});
|
||||
});
|
||||
</script>
|
|
@ -59,7 +59,7 @@ const planetId = active instanceof SystemManager ? active.data._id : active._id;
|
|||
<div class="ship-cards">
|
||||
{defenses.map(def => <>
|
||||
<ItemCard
|
||||
category="ships"
|
||||
category="defenses"
|
||||
id={def.id}
|
||||
name={getObj(lang, "defenses", def.id).name}
|
||||
level={active.defenses.getDefenseById(def.id)?.amount.toString() ?? "0"}
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Coal mine
|
||||
---
|
||||
Coal mine is a type of mine which is used to extract [coal](/wiki/game/resources/coal).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Coal power plant
|
||||
---
|
||||
Coal power plant is used for generating electricity using [coal](/wiki/game/resources/coal).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Electrolytic separator
|
||||
---
|
||||
Electrolytic separator is a type of building which is used to separate [water](/wiki/game/resources/water) into [hydrogen](/wiki/game/resources/hydrogen) and [oxygen](/wiki/game/resources/oxygen).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Gold mine
|
||||
---
|
||||
Gold mine is a type of mine which is used to extract [gold](/wiki/game/resources/gold).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Iron mine
|
||||
---
|
||||
Iron mine is a type of mine which is used to extract [iron](/wiki/game/resources/iron).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Nuclear power plant
|
||||
---
|
||||
Nuclear power plant is used for generating electricity using [uranium](/wiki/game/resources/uranium).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Oil refinery
|
||||
---
|
||||
Oil refinery is used for refining [oil](/wiki/game/resources/oil) into [diesel](/wiki/game/resources/diesel) and [kerosene](/wiki/game/resources/kerosene).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Research facility
|
||||
---
|
||||
Research facility is an upgrade over [research lab](/wiki/buildings/research-lab) that allows you to conduct more advanced research projects. Research facility is equipped with state-of-the-art equipment and facilities, such as laboratories, computers, and research tools.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Research lab
|
||||
---
|
||||
Research lab is a type of building which is used to conduct research. Research is the process of discovering new knowledge, which can be used to improve existing technologies, develop new technologies, or solve problems.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Shipyard
|
||||
---
|
||||
Shipyard is a type of building which is used to construct [ships](/wiki/ships).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Solar power plant
|
||||
---
|
||||
Solar power plant is used for generating electricity using sunlight.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Defenses
|
||||
---
|
||||
Defending systems and planets is crucial.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Laser turret
|
||||
---
|
||||
Laser turret is a defensive structure that can be built on planets. It is used to defend the planet from enemy spacecrafts. It is effective against small and medium spacecrafts, but not against large spacecrafts.
|
|
@ -8,3 +8,6 @@ Players can send their fleet to any planet for various tasks.
|
|||
- Attack - fight is initiated on destination. If there's at least one ship remaining after the fight, it will return to its origin
|
||||
- Transport - transports resources to selected planet/system. After dropping resources the fleet returns to its origin
|
||||
- Transfer - all ships will stay in destination planet and get added to this planet's available fleet
|
||||
- Expedition - fleet will explore the destination sector
|
||||
- Spying - fleet will spy on the destination planet or system
|
||||
- Colonize - fleet will colonize the destination planet or system
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Coal
|
||||
---
|
||||
Coal is a resource used in various processes. It is mined from [coal mines](/wiki/building/coal-mine).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Deuterium
|
||||
---
|
||||
Deuterium is form of [hydrogen](/wiki/game/resources/hydrogen) with an extra neutron. It is used in various processes.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Diesel
|
||||
---
|
||||
Diesel is a type of fuel used in various vehicles and machines. It is produced from crude oil through a process called fractional distillation.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Gold
|
||||
---
|
||||
Gold is a resource used in various processes. It is mined from [gold mines](/wiki/buildings/gold-mine).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Helium-3
|
||||
---
|
||||
Helium-3 is a resource used in various processes.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Hydrogen
|
||||
---
|
||||
Hydrogen is a resource used in various processes. It is produced in [electrolytic separators](/wiki/buildings/electrolytic-separator).
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Resources
|
||||
---
|
||||
There are 15 resources in the game:
|
||||
|
||||
- [Coal](/wiki/game/resources/coal)
|
||||
- [Iron](/wiki/game/resources/iron)
|
||||
- [Gold](/wiki/game/resources/gold)
|
||||
- [Water](/wiki/game/resources/water)
|
||||
- [Sulfuric acid](/wiki/game/resources/sulfuric-acid)
|
||||
- [Liquid nitrogen](/wiki/game/resources/liquid-nitrogen)
|
||||
- [Hydrogen](/wiki/game/resources/hydrogen)
|
||||
- [Oxygen](/wiki/game/resources/oxygen)
|
||||
- [Helium-3](/wiki/game/resources/helium-3)
|
||||
- [Uranium](/wiki/game/resources/uranium)
|
||||
- [Oil](/wiki/game/resources/oil)
|
||||
- [Diesel](/wiki/game/resources/diesel)
|
||||
- [Kerosene](/wiki/game/resources/kerosene)
|
||||
- [Deuterium](/wiki/game/resources/deuterium)
|
||||
- [Tritium](/wiki/game/resources/tritium)
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Iron
|
||||
---
|
||||
Iron is a resource used in various processes. It is mined from [iron mines](/wiki/buildings/iron-mine).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Kerosene
|
||||
---
|
||||
Coal is a resource used in various processes. It is mined from coal mines.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Liquid nitrogen
|
||||
---
|
||||
Liquid nitrogen is a resource used mainly for cooling.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Oil
|
||||
---
|
||||
Oil is a resource used in [oil refineries](/wiki/game/buildings/oil-refinery).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Oxygen
|
||||
---
|
||||
Oxygen is a resource used in various processes. It is produced in [electrolytic separator](/wiki/buildings/electrolytic-separator).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Sulphuric acid
|
||||
---
|
||||
Sulfuric acid is a resource used in various processes. It is produced in chemical plants.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Tritium
|
||||
---
|
||||
Tritium is a radioactive isotope of [hydrogen](/wiki/game/resources/hydrogen). It is used in various processes, including nuclear fusion.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Uranium
|
||||
---
|
||||
Uranium is a radioactive resource used for nuclear fission.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../../layouts/Wiki.astro
|
||||
title: Water
|
||||
---
|
||||
Water is an essential resource. It is used in various processes. It is extracted from water sources.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Orbital shipyard
|
||||
---
|
||||
Orbital shipyard is a structure used for constructing and storing spacecrafts.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Refueling station
|
||||
---
|
||||
Refueling station is a structure used for refueling spacecrafts. It is equipped with fuel tanks and fuel pumps for refueling spacecrafts.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Storage station
|
||||
---
|
||||
Storage station is a structure used for storing resources. It is equipped with storage tanks and storage containers for storing resources.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Advanced engine
|
||||
---
|
||||
Research for unlocking the advanced engine, upgrade over [basic engine](/wiki/research/basic-engine).
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Advanced technologies
|
||||
---
|
||||
Research for unlocking advanced technologies.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Basic engine
|
||||
---
|
||||
Research for unlocking the basic engine, used in many spacecrafts.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Combat utilities
|
||||
---
|
||||
Research for improving combat capabilities.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Defensive utilities
|
||||
---
|
||||
Research for improving defensive capabilities.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Research
|
||||
---
|
||||
There are many researches available in the game. Researches are used to unlock new buildings, upgrades, and other researches.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Mining efficiency
|
||||
---
|
||||
Research for improving mining efficiency.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Nuclear power
|
||||
---
|
||||
Research for unlocking nuclear power technologies, used in power plants and spacecrafts.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Oxygen production
|
||||
---
|
||||
Research for working on oxygen production, essential for life support systems.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Terraforming
|
||||
---
|
||||
Research for unlocking the terraforming technology, used to change the environment of a planet.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Asteroid miner
|
||||
---
|
||||
Asteroid miner is a ship used for mining asteroids. It is equipped with a mining laser and a cargo hold for storing mined resources.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Colonizing ship
|
||||
---
|
||||
Colozining ship is a type of spacecraft designed for colonizing new systems and planets.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Fighter
|
||||
---
|
||||
Fighter is a small, fast and agile ship designed for combat. It is equipped with a variety of weapons and shields, and can be used for both offensive and defensive purposes.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Ships
|
||||
---
|
||||
There are many different types of ships in the game, each with their own unique abilities and stats. Ships are the primary means of transportation in the game, and are used for a variety of purposes, including exploration, combat, and trade. Ships can be upgraded and customized with various modules and equipment to improve their performance and capabilities.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Spy probe
|
||||
---
|
||||
Spy probe is a ship that can be sent to a planet to gather information about the player's research, planet's or system's buildings/structures, resources, ships and defenses. The spy probe is a small and fast ship, but it has no weapons and cannot defend itself. It is equipped with advanced sensors and communication equipment to gather and transmit data back to the player's home planet.
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
layout: ../../../layouts/Wiki.astro
|
||||
title: Transporter
|
||||
---
|
||||
Transporter is mainly used for transporting goods between planets. It has a large cargo capacity. Transporters are unarmed and have limited defensive capabilities, so they are vulnerable to attack.
|
Loading…
Reference in New Issue