From 7fad8bfeb6af50b4b90400ca859eff4a28ae595d Mon Sep 17 00:00:00 2001 From: DCoded <dcoded@live.com> Date: Sat, 3 Oct 2020 23:35:08 -0400 Subject: [PATCH] Moved Pit TS interface to new .d.ts file --- devTools/types/FC/facilities.d.ts | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 devTools/types/FC/facilities.d.ts diff --git a/devTools/types/FC/facilities.d.ts b/devTools/types/FC/facilities.d.ts new file mode 100644 index 00000000000..96d73b37034 --- /dev/null +++ b/devTools/types/FC/facilities.d.ts @@ -0,0 +1,32 @@ +declare namespace FC { + namespace Facilities { + interface Pit { + /** Defaults to "the Pit" if not otherwise set. */ + name: string; + + /** Has a slave fight an animal if not null. */ + animal: Animal; + /** The type of audience the Pit has. */ + audience: "none" | "free" | "paid"; + /** Whether or not the bodyguard is fighting this week. */ + bodyguardFights: boolean; + /** An array of the IDs of slaves assigned to the Pit. */ + fighterIDs: number[]; + /** Whether or not a fight has taken place during the week. */ + fought: boolean; + /** Whether or not the fights in the Pit are lethal. */ + lethal: boolean; + /** The ID of the slave fighting the bodyguard for their life. */ + slaveFightingBodyguard: number; + /** The virginities of the loser not allowed to be taken. */ + virginities: "neither" | "vaginal" | "anal" | "all" + } + + class Animal { + name: string; + species: string; + type: string; + articleAn: boolean; + } + } +} -- GitLab