giveResearch beta
Function of @v12-engine/engine
ts
export declare function giveResearch(world: World, player: PlayerId, research: Readonly<Record<string, number>>): void;Gives a player research carried in (carryResearch): each upgrade up to its level, never down, no further than it goes, and what it does besides stats (UpgradeDef.apply) to the units the player has, as research finishing does. What the game no longer has is left out