ctx.items.damage and player_death event moved to bworld
This commit is contained in:
@@ -249,6 +249,7 @@ ctx.items.max_stack("bworld:wood_pickaxe"); // 1
|
||||
ctx.items.max_stack(id, data); // the same for a stack with this data, fewer for a full fluid container
|
||||
ctx.items.fluid_capacity("bworld:bucket"); // how much a fluid container holds full, or undefined
|
||||
ctx.items.tool("bworld:wood_pickaxe"); // "pickaxe", or undefined for items that aren't tools
|
||||
ctx.items.damage(item, 1); // takes durability off a tool stack, true when that used it up
|
||||
ctx.items.sell_value("bworld:copper_coin"); // 1, or undefined for items without a base_sell_value
|
||||
ctx.items.sell_value(id, data); // the same for a stack with this data, with a full fluid container's fluid on top
|
||||
|
||||
|
||||
Reference in New Issue
Block a user