build(repo): make source comments and build tools self-contained
This commit is contained in:
1 parent
5b5c59ab08
commit
44190e4544
106 files changed
+152
-183
No files matched your search
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Buying a crew slot (cln_buy_slot, implementation notes).
|
||||
* Buying a crew slot (cln_buy_slot).
|
||||
*
|
||||
* The price of a country's next slot is config/rank.blk crew_slots slot<N>, N being the
|
||||
* number of crews the country has, as the client shows it (get_crew_slot_cost, aces.exe
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/**
|
||||
* Choosing what to research and putting research points into a vehicle (implementation notes
|
||||
* sections 1.2, 4.3 and 5).
|
||||
* Choosing what to research and putting research points into a vehicle.
|
||||
*
|
||||
* - Choosing a research target (cln_set_researchable) makes a researchable vehicle the
|
||||
* target of its country and type and closes the "research finished" prompt.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Static facts used by vehicle research and purchase rules, loaded once at startup from game
|
||||
* files (implementation notes; implementation notes).
|
||||
* files.
|
||||
*/
|
||||
import type { DatasetCache } from '../game-data/datasets/dataset-cache.ts';
|
||||
import { crewSlotPrices, eraRequirements, type CrewSlotPrices, type EraRequirements } from '../game-data/datasets/rank-settings.ts';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Squadron vehicle (`researchType:t="clanVehicle"`) research and Golden-Eagle early purchase
|
||||
* rules (implementation notes; aces.exe 0xec0b70..0xec0c6f; scripts/unit/unitActions.nut).
|
||||
* rules (aces.exe 0xec0b70..0xec0c6f; scripts/unit/unitActions.nut).
|
||||
*/
|
||||
import type { BlkBlock } from '@wto/blk';
|
||||
import { canAfford, pay, type Price } from '../profile/profile-currency.ts';
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
/**
|
||||
* Buying a vehicle (cln_buy_aircraft, implementation notes).
|
||||
* Buying a vehicle (cln_buy_aircraft).
|
||||
*
|
||||
* The vehicle must be buyable (status "can buy"). Its price is config/wpcost.blk value
|
||||
* (silver lions) and costGold (golden eagles), less the best active personal discount: the
|
||||
* client prices it the same way (wp_get_cost / wp_get_cost_gold, aces.exe 2.61.0.37 0x9158a0;
|
||||
* implementation notes; the price table itself has no discounts). The client sends the price
|
||||
* client prices it the same way (wp_get_cost / wp_get_cost_gold, aces.exe 2.61.0.37 0x9158a0; the price table itself has no discounts). The client sends the price
|
||||
* it showed; a different one is refused, as when a discount ended online. A purchase made with
|
||||
* a discount counts against that discount item. The parts of a split vehicle come with it.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user