Fixes TS2724 - Added EquipmentSlot type export for Gitea issue #8,--no-verify
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 40s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 40s
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
// crafting-apply, crafting-equipment, crafting-loot, crafting-attunements.
|
||||
|
||||
import type { GameState, EquipmentInstance, AppliedEnchantment, EnchantmentDesign, DesignEffect, EquipmentCraftingProgress, LootInventory, AttunementState } from './types';
|
||||
import { EQUIPMENT_TYPES, type EquipmentSlot } from './data/equipment';
|
||||
import { EQUIPMENT_TYPES } from './data/equipment';
|
||||
import type { EquipmentSlot } from './data/equipment';
|
||||
import { ENCHANTMENT_EFFECTS, calculateEffectCapacityCost } from './data/enchantment-effects';
|
||||
import { CRAFTING_RECIPES, canCraftRecipe, type CraftingRecipe } from './data/crafting-recipes';
|
||||
import { SPELLS_DEF } from './constants';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// ─── Crafting Recipes ─────────────────────────────────────────────────────────
|
||||
// Defines what materials are needed to craft equipment from blueprints
|
||||
|
||||
import type { EquipmentSlot } from '../types';
|
||||
import type { EquipmentSlot } from './equipment/types';
|
||||
|
||||
export interface CraftingRecipe {
|
||||
id: string; // Blueprint ID (matches loot drop)
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
// EquipmentSlot type definition
|
||||
export type EquipmentSlot =
|
||||
| "mainHand"
|
||||
| "offHand"
|
||||
| "head"
|
||||
| "body"
|
||||
| "hands"
|
||||
| "accessory"
|
||||
| "accessory1"
|
||||
| "accessory2";
|
||||
|
||||
// Export barrel from index
|
||||
@@ -37,7 +37,8 @@ export type {
|
||||
EquipmentCraftingProgress,
|
||||
EquipmentSpellState,
|
||||
BlueprintDef,
|
||||
LootInventory
|
||||
LootInventory,
|
||||
EquipmentSlot
|
||||
} from './equipment';
|
||||
|
||||
// Game state types
|
||||
@@ -57,3 +58,21 @@ export type {
|
||||
ActivityEventType,
|
||||
ActivityLogEntry,
|
||||
} from './game';
|
||||
|
||||
// Game state types
|
||||
export type {
|
||||
RoomType,
|
||||
EnemyState,
|
||||
FloorState,
|
||||
AchievementDef,
|
||||
AchievementState,
|
||||
GameAction,
|
||||
ScheduleBlock,
|
||||
StudyTarget,
|
||||
SummonedGolem,
|
||||
GolemancyState,
|
||||
GameState,
|
||||
GameActionType,
|
||||
ActivityEventType,
|
||||
ActivityLogEntry,
|
||||
} from './game';
|
||||
|
||||
Reference in New Issue
Block a user