mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-12-05 03:30:23 -06:00
index.ts now only registers settings and routes. Handlers are grouped by part of the game (version, card, key, print, play, item, gift), the stored documents live in models/, and the closet, player creation, db access, game data and helpers each have their own file. No behavior change: the test flow gives the same results.
14 lines
379 B
TypeScript
14 lines
379 B
TypeScript
export interface Doll {
|
|
collection: 'doll';
|
|
doll_seq: number;
|
|
user_seq: number;
|
|
doll_id: number;
|
|
doll_name: string;
|
|
doll_seed: number;
|
|
doll_level: number;
|
|
equip: number[][]; // 4 slots [equip_id, grade]: weapon, top, bottom, shoes
|
|
accessory: number[]; // 2 slots of accessory_seq, 0 = empty
|
|
makeup: number[]; // hair_color, eye_color
|
|
luck_offset: number;
|
|
}
|