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
+5
View File
@@ -670,6 +670,11 @@ export class ModRuntime {
if (!item) throw new Error(`unknown item ${id}`);
return item.tool?.type;
},
sell_value: (id) => {
const item = EverythingRegistry.get<ItemRegistry>("items", id);
if (!item) throw new Error(`unknown item ${id}`);
return item.base_sell_value;
},
components: (id) => {
const item = EverythingRegistry.get<ItemRegistry>("items", id);
if (!item) throw new Error(`unknown item ${id}`);