anomaly-packer
Version:
Anomaly Packer is a utility package for STALKER Anomaly creators to help them develop addons at speed with TypeScript's type-safety and game-oriented build tools.
17 lines (14 loc) • 782 B
TypeScript
/** @noSelfInFile */
import type { Section } from 'anomaly-packer'
declare global {
namespace ui_wpn_params {
export function GetAccuracy(wpn_section: string, upgr_sections: string): number
export function GetDamage(wpn_section: string, upgr_sections: string): number
export function GetDamageMP(wpn_section: string, upgr_sections: string): number
export function GetHandling(wpn_section: string, upgr_sections: string): number
export function GetRPM(wpn_section: string, upgr_sections: string): number
export function normalizeMP(val: number): number
export function read_float(wpn_section: string, upgr_sections: string, param: string): number
export function read_if_exist(section: Section.Item, value: string, default_: number): number
}
}