====== WorldContainer Class ====== Class For WorldContainer Interface [[developer_center:developer_editor:script|Return To Previous Page]] ------ ===== API List ===== ^ Class:apiName(parameters) ^ return ^ Description ^ | WorldContainer:addFurnace(x:number, y:number, z:number) | ErrorCode.OK _ | Add a furnace | | WorldContainer:removeFurnace(x:number, y:number, z:number) | ErrorCode.OK _ | Remove the furnace | | WorldContainer:checkFurnace(x:number, y:number, z:number) | ErrorCode.OK _ | Check if it is a furnace | | WorldContainer:getFurnaceHeatPercent(x:number, y:number, z:number) | ErrorCode.OK _ | Get the furnace heat percentage | | WorldContainer:getFurnaceMeltPercent(x:number, y:number, z:number) | ErrorCode.OK _ | Get the melting percentage of the furnace | | WorldContainer:addStorageBox(x:number, y:number, z:number) | ErrorCode.OK _ | Add storage boxes | | WorldContainer:removeStorageBox(x:number, y:number, z:number) | ErrorCode.OK _ | Remove the storage box | | WorldContainer:checkStorage(x:number, y:number, z:number) | ErrorCode.OK _ | Check if it is a storage box | | WorldContainer:clearStorageBox(x:number, y:number, z:number) | ErrorCode.OK _ | Empty the storage box | | WorldContainer:checkStorageEmptyGrid(x:number, y:number, z:number, itemid:number) | ErrorCode.OK _ | Check the empty grid of the storage box for the specified item ID | | WorldContainer:setStorageItem(x:number, y:number, z:number, offset:number, itemid:number, num:number) | ErrorCode.OK _ | Set the storage box properties | | WorldContainer:getStorageItem(x:number, y:number, z:number, offset:number) | ErrorCode.OK _ | Get the storage box prop ID and number of props | | WorldContainer:addStorageItem(x:number, y:number, z:number, itemid:number, num:number) | ErrorCode.OK _ | Add props to the storage box | | WorldContainer:removeStorageItemByID(x:number, y:number, z:number, itemid:number, num:number) | ErrorCode.OK _ | Remove specified type of props from the storage box | | WorldContainer:removeStorageItemByIndex(x:number, y:number, z:number, offset:number, num:number) | ErrorCode.OK _ | Remove props from the specified grid in the storage box | | WorldContainer:addItemToContainer(x:number, y:number, z:number, itemid:number, num:number) | ErrorCode.OK _ | Add a certain number of props to the storage box | | WorldContainer:removeContainerItemByID(x:number, y:number, z:number, itemid:number, num:number) | ErrorCode.OK _ | Remove a certain number of props from the storage box | | WorldContainer:clearContainer(x:number, y:number, z:number) | ErrorCode.OK _ | Empty the storage box at the specified location |