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.
19 lines
511 B
TypeScript
19 lines
511 B
TypeScript
import { Accessory } from './user';
|
|
|
|
export interface Card {
|
|
collection: 'card';
|
|
otocard_id: string;
|
|
inquire_id: string;
|
|
user_seq: number;
|
|
doll_seq: number;
|
|
kira_type: number;
|
|
kira: number[]; // hp, atk, mat, spd bonus printed on this card
|
|
// the coord printed on this card: scanning an old card plays the latest doll in that card's coord,
|
|
// even with items sold since then
|
|
equip: number[][];
|
|
accessory: Accessory[];
|
|
decoseal_id: number;
|
|
from_otocard_id: string;
|
|
created: number;
|
|
}
|