UNPKG

arx-level-generator

Version:
22 lines 583 B
import { ScriptProperty } from '../ScriptProperty.js'; /** * A ScriptProperty for specifying how many items of the same kind can be * stacked upon each other. An item can be marked unstackable by setting * the stack size to 1 * * @extends ScriptProperty * * default value is 1 */ export class StackSize extends ScriptProperty { toString() { return `playerstacksize ${this.value}`; } static get default() { return new StackSize(10); } static get unstackable() { return new StackSize(1); } } //# sourceMappingURL=StackSize.js.map