Move curios into the main bworld mod
This commit is contained in:
@@ -289,7 +289,7 @@ export interface ItemApi {
|
||||
// the tool type it is, like "pickaxe" or "shovel", from the item's "tool"
|
||||
tool(id: Id): string | undefined;
|
||||
// the components its json lists and their params, a copy. a mod can read params of its components this way
|
||||
// without a stack, like curios does for curios:attribute_modifiers
|
||||
// without a stack, like the curios slots do for bworld:curio_modifiers
|
||||
components(id: Id): Record<Id, unknown>;
|
||||
}
|
||||
|
||||
@@ -396,7 +396,7 @@ export interface PlayerMenuBuilder {
|
||||
}
|
||||
|
||||
export interface MenuRegistry {
|
||||
// adds slots to every player's own inventory menu, always there while they play, like curios' slots next to the
|
||||
// adds slots to every player's own inventory menu, always there while they play, like the curios slots next to the
|
||||
// inventory. build runs when each player joins. only during setup
|
||||
extend_player_menu(build: (menu: PlayerMenuBuilder, player: Player) => void): void;
|
||||
// like registering a MenuType. the client script gives it a screen with ctx.ui.register_menu_screen
|
||||
|
||||
Reference in New Issue
Block a user