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.
21 lines (19 loc) • 1.07 kB
TypeScript
/** @noSelfInFile */
declare namespace treasure_manager {
export const caches: AnyTable
export const ini_treasure: AnyTable
export const last_secret: AnyTable
export const stash_bonus: AnyTable
export function box_in_same_map(id: number): boolean
export function box_in_valid_map(id: number): boolean
export function create_random_stash(no_spot: boolean, hint: string, bonus_items: boolean, spawn_local: boolean, inv_box: CGameObject): void
export function get_random_stash(no_spot: boolean, hint: string, spawn_local: boolean, inv_box: CGameObject): LuaMultiReturn<[number, string]>
export function init_settings(): void
export function load(pk: net_packet): void
export function on_game_start(): void
export function release_stash_by_id(id: number): void
export function save(pk: net_packet): void
export function set_random_stash(no_spot: boolean, hint: string, bonus_items: boolean, id: number, dbg: boolean): number
export function simulate_stash_creation(num: number): void
export function try_spawn_treasure(box: CGameObject): void
}