TypeScript type definitions for Milky Way Idle game data
npm install @c3d.gg/mwi-typesTypeScript types and constants for Milky Way Idle game data.
``bash`
pnpm add @c3d.gg/mwi-types
`typescript`
import type { Item, ItemHrid } from '@c3d.gg/mwi-types/items'
import type { Recipe, RecipeHrid } from '@c3d.gg/mwi-types/recipes'
import type { Action, ActionHrid } from '@c3d.gg/mwi-types/actions'
import type { Monster, MonsterHrid } from '@c3d.gg/mwi-types/monsters'
import type { Skill, SkillHrid } from '@c3d.gg/mwi-types/skills'
`typescript`
import { ITEM_HRIDS, ITEMS_BY_CATEGORY } from '@c3d.gg/mwi-types/items'
import { RECIPE_HRIDS, RECIPES_BY_OUTPUT } from '@c3d.gg/mwi-types/recipes'
import { ACTION_HRIDS, ACTIONS_BY_SKILL } from '@c3d.gg/mwi-types/actions'
| Domain | Types | Constants |
|--------|-------|-----------|
| /items | Item, ItemHrid, ItemCategory | ITEM_HRIDS, ITEMS_BY_CATEGORY |/recipes
| | Recipe, RecipeHrid | RECIPE_HRIDS, RECIPES_BY_OUTPUT |/actions
| | Action, ActionHrid, ActionCategory | ACTION_HRIDS, ACTIONS_BY_SKILL |/monsters
| | Monster, MonsterHrid | MONSTER_HRIDS |/skills
| | Skill, SkillHrid | SKILL_HRIDS |/abilities
| | Ability, AbilityHrid | ABILITY_HRIDS |/buffs
| | Buff, BuffType | BUFF_TYPES_HRIDS |/combat
| | CombatStyle, DamageType | COMBAT_STYLE_HRIDS |/house
| | HouseRoom, HouseRoomHrid | HOUSE_ROOM_HRIDS |/shop
| | ShopItem, PurchaseBundle | SHOP_ITEMS_HRIDS |/tasks
| | RandomTaskType | RANDOM_TASK_TYPE_HRIDS |/leaderboard
| | LeaderboardCategory | LEADERBOARD_CATEGORY_HRIDS |
Types and constants re-exported from root:
`typescript`
import { ITEM_HRIDS, SKILL_HRIDS, type Item, type Skill } from '@c3d.gg/mwi-types'
Generated from Milky Way Idle game data. Do not edit dist/` files.
MIT