Shipping bin block

This commit is contained in:
2026-10-04 16:18:03 -03:00
parent 6a6abae0d5
commit 4cdf48c9fb
8 changed files with 147 additions and 3 deletions
+2
View File
@@ -337,6 +337,8 @@ export interface ItemApi {
max_stack(id: Id): number;
// the tool type it is, like "pickaxe" or "shovel", from the item's "tool"
tool(id: Id): string | undefined;
// what one of it sells for, from the item's "base_sell_value", or undefined if it can't be sold
sell_value(id: Id): number | 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 the curios slots do for bworld:curio_modifiers
components(id: Id): Record<Id, unknown>;